CmdID / aws / aws datasync
aws datasync update-location-object-storage
Modifies the following configuration parameters of the object storage transfer location that you're using with DataSync. AWS CLI reference
12 options Its page in the AWS CLI reference
Options
--access-keySpecifies the access key (for example, a user name) if credentials are required to authenticate with the object storage server.--agent-arns(Optional) Specifies the Amazon Resource Names (ARNs) of the DataSync agents that can connect with your object storage system.--cmk-secret-configSpecifies configuration information for a DataSync-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed KMS key.--custom-secret-configSpecifies configuration information for a customer-managed secret, such as an authentication token or set of credentials that DataSync uses to access a specific transfer location, and a customer-managed Identity and Access Management (IAM) role that provides access to the secret.--federated-identitySpecifies the federated identity configuration that allows DataSync to access your object storage using an OpenID Connect (OIDC) token instead of a long-term access key and secret key.--location-arnSpecifies the ARN of the object storage system location that you're updating.--secret-keySpecifies the secret key (for example, a password) if credentials are required to authenticate with the object storage server.--server-certificateSpecifies a certificate chain for DataSync to authenticate with your object storage system if the system uses a private or self-signed certificate authority (CA).--server-hostnameSpecifies the domain name or IP address (IPv4 or IPv6) of the object storage server that your DataSync agent connects to.--server-portSpecifies the port that your object storage server accepts inbound network traffic on (for example, port 443).--server-protocolSpecifies the protocol that your object storage server uses to communicate.--subdirectorySpecifies the object prefix for your object storage server.