netapp.storagegrid.na_sg_org_endpoints module – NetApp StorageGRID configure Platform Service Endpoint.
Note
This module is part of the netapp.storagegrid collection (version 21.17.0).
You might already have this collection installed if you are using the ansible package.
It is not included in ansible-core.
To check whether it is installed, run ansible-galaxy collection list.
To install it, use: ansible-galaxy collection install netapp.storagegrid.
To use it in a playbook, specify: netapp.storagegrid.na_sg_org_endpoints.
New in netapp.storagegrid 21.16.0
Synopsis
Configure Platform Service Endpoint with in NetApp StorageGRID.
If module is run with
check_mode, a connectivity test will be performed using the supplied values without changing the configuration.
Parameters
Parameter |
Comments |
|---|---|
The url to the StorageGRID Admin Node REST API. |
|
The authorization token for the API request |
|
The authentication type for the endpoint. Choices:
|
|
The CA certificate for the endpoint. |
|
The CAP credentials for the endpoint. |
|
The client certificate for the CAP endpoint. |
|
The client key for the CAP endpoint. |
|
The client key passphrase for the CAP endpoint. |
|
The server CA certificate for the CAP endpoint. |
|
The URL for the CAP endpoint. |
|
The credentials for the endpoint. |
|
The access key for the endpoint. |
|
The secret key for the endpoint. |
|
The URI of the endpoint. |
|
The URN of the endpoint. |
|
The HTTP credentials for the endpoint. |
|
The HTTP password for the endpoint. |
|
The HTTP username for the endpoint. |
|
Whether to allow insecure TLS connections to the endpoint. Choices:
|
|
The name of the endpoint. |
|
The SASL credentials for the endpoint. |
|
Whether to use a delegation token for the SASL endpoint. Choices:
|
|
The SASL mechanism for the endpoint. Choices:
|
|
The SASL password for the endpoint. |
|
The SASL username for the endpoint. |
|
Whether the specified endpoint should exist or not. Choices:
|
|
Should https certificates be validated? Choices:
|
Notes
Note
The modules prefixed with
na_sgare built to manage NetApp StorageGRID.
Examples
- name: Configure platform service endpoint
netapp.storagegrid.na_sg_org_endpoints:
api_url: "https://<storagegrid-endpoint-url>"
auth_token: "storagegrid-auth-token"
validate_certs: false
state: present
name: "My_endpoint"
endpoint_uri: "https://s3-aws-region.amazonaws.com"
endpoint_urn: "arn:aws:s3:::my-bucket"
auth_type: "anonymous"
check_mode: true
- name: Configure platform service endpoint with access key credentials
netapp.storagegrid.na_sg_org_endpoints:
api_url: "https://<storagegrid-endpoint-url>"
auth_token: "storagegrid-auth-token"
validate_certs: false
state: present
name: "My_endpoint"
endpoint_uri: "https://s3-aws-region.amazonaws.com"
endpoint_urn: "arn:aws:s3:::my-bucket"
auth_type: "accessKey"
credentials:
access_key: "my-access-key"
secret_key: "my-secret-key"
- name: Delete existing platform service endpoint
netapp.storagegrid.na_sg_org_endpoints:
api_url: "https://<storagegrid-endpoint-url>"
auth_token: "storagegrid-auth-token"
validate_certs: false
state: absent
name: "My_endpoint"
Return Values
Common return values are documented here, the following are the fields unique to this module:
Key |
Description |
|---|---|
Returns information about the StorageGRID endpoint configuration. Returned: success Sample: |