Globus Connect Server User Credentials S3 Keys Add
Name
globus-connect-server user-credentials s3-keys-add - Add additional S3 keys and their associated bucket prefix(s) to a user credential.
Description
The globus-connect-server user-credentials s3-keys-add command allows users to add S3 keys and their associated bucket prefixes to a user credential.
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-access-key-id KEY_ID
-
Additional S3 Access Key ID. If not provided, this command will prompt for it.
- --s3-secret-key SECRET_KEY
-
Additional S3 secret key. If not provided, this command will prompt for it.
- --prefix
-
The prefix of all S3 buckets to use with this key. This option 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 adds a S3 key and a set of <bucket/object> prefixes for matching.
globus-connect-server user-credentials s3-keys-add s3-keys-add 4DB9FB89-990C-492D-98B6-F7F2BFCB9FD6 --prefix /mybucket/thisobject/dir S3 access key id: ASIEENGI3AARAIP2IENEEMUE7ECA S3 secret key: ohCheul8the7Ahmochohbe9Kthu6Gue9