Globus Connect Server User Credentials S3 Keys Update
Name
globus-connect-server user-credentials s3-keys-update - Update one of the additional S3 keys that is associated with a set of bucket prefixes.
Synopsis
globus-connect-server user-credentials s3-keys-update USER_CREDENTIAL_ID S3_ACCESS_KEY [OPTIONS]…
Description
The globus-connect-server user-credentials s3-keys-update command allows users to update an additional S3 key and its associated list of bucket prefixes.
A user credential on an AWS S3 storage gateway must have a default S3 key, which does not have a bucket prefix associated with it. Optionally, users may add additional S3 keys, which must be associated with a bucket prefix. When accessing an object, the S3 key associated with the bucket prefix that matches the object’s bucket is used. If no bucket prefix matches the object’s bucket, then the default key is used.
Values for the additional S3 access key and its secret key can be provided on the command-line using the --s3-access-key-id and --s3-secret-key command-line options. If the values are omitted, the command will prompt for the values.
See Globus S3 Connector for more information.
Options
- -h, --help
-
Show help message and exit.
- --version
-
Show the version and exit.
- --s3-secret-key SECRET_KEY
-
S3 secret key. If not provided, this command will prompt for it.
- --prefix
-
The prefix of all S3 bucket/object path to use with this key. This command is additive and can be passed multiple times.
- --use-explicit-host IP_ADDRESS
-
IP address of the GCS node to use for this request. If not specified, any available GCS node in the endpoint will be used.
Example
This example creates the credentials using the prompt mode. This will prompt twice, with S3 access key id: and S3 secret key: and then output the created credential’s id.
globus-connect-server user-credentials s3-keys-update s3-keys-add 4DB9FB89-990C-492D-98B6-F7F2BFCB9FD6 --prefix /mybucket/thisobject/dir S3 access key id: ASIEENGI3AARAIP2IENEEMUE7ECA S3 secret key: ohCheul8the7Ahmochohbe9Kthu6Gue9