#[repr(C)]pub struct aws_credentials_provider_process_options {
pub shutdown_options: aws_credentials_provider_shutdown_options,
pub profile_to_use: aws_byte_cursor,
}Expand description
Configuration options for the process credentials provider
The process credentials provider sources credentials from running a command or process. The command to run is sourced from a profile in the AWS config file, using the standard profile selection rules. The profile key the command is read from is “credential_process.” E.g.: [default] credential_process=/opt/amazon/bin/my-credential-fetcher –argsA=abc On successfully running the command, the output should be a json data with the following format: { “Version”: 1, “AccessKeyId”: “accesskey”, “SecretAccessKey”: “secretAccessKey” “SessionToken”: “….”, “Expiration”: “2019-05-29T00:21:43Z” } Version here identifies the command output format version. This provider is not part of the default provider chain.
Fields
shutdown_options: aws_credentials_provider_shutdown_optionsprofile_to_use: aws_byte_cursorIn which profile name to look for credential_process, if not provided, we will try environment variable: AWS_PROFILE.
Trait Implementations
sourceimpl Clone for aws_credentials_provider_process_options
impl Clone for aws_credentials_provider_process_options
sourcefn clone(&self) -> aws_credentials_provider_process_options
fn clone(&self) -> aws_credentials_provider_process_options
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more