Globus Connect Server User Credentials S3 Keys Update
Name
globus-connect-server user-credentials s3-keys-update - Update one of the S3 keys that are associated with a set of 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 S3 key/prefix mapping
Multiple S3 keys can be associated with a user credential. Globus Connect selects the key to use by comparing the virtualized path (<bucket>/<object>) of the object being accessed with a list of all path prefixes. If a match is made the key associated with the path prefix is selected. If no match is found the default key is used.
Key information can be provided on the command-line using the --s3-access-key-id and --s3-secret-key command-line options, but if omitted, this 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