Create and retreive AWSCredentials using Amazon's auth API
Create and retreive AWSCredentials using Amazon's auth API
(make-credentials-provider x args)
Returns a credentials provider or nil.
Returns a credentials provider or nil.
(credentials {:keys [access-key secret-key session-token] :as creds})
Creates basic aws credentials using the provided credentials
map. Prefer get-credentials
when credentials need to be loaded at
runtime.
Supported keys: :access-key requires :secret-key :secret-key requires :access-key :session-token requires :secret-key and :access-key
Creates basic aws credentials using the provided credentials map. Prefer `get-credentials` when credentials need to be loaded at runtime. Supported keys: :access-key requires :secret-key :secret-key requires :access-key :session-token requires :secret-key and :access-key
(credentials-provider source & args)
Creates a credentials provider for the source given. The source can be of any type the AWSCredentialsProviderFactory protocol supports, but should typically be a keyword indicating the provider type to use. Since this is based on a protocol, you are free to extend it to any type you like.
Default provider keywords and classes: :classpath => ClasspathPropertiesFileCredentialsProvider :default-chain => DefaultAWSCredentialsProviderChain :environment => EnvironmentVariableCredentialsProvider :instance-profile => InstanceProfileCredentialsProvider :system-properties => SystemPropertiesCredentialsProvider :sts-session => STSSessionCredentialsProvider
Creates a credentials provider for the source given. The source can be of any type the AWSCredentialsProviderFactory protocol supports, but should typically be a keyword indicating the provider type to use. Since this is based on a protocol, you are free to extend it to any type you like. Default provider keywords and classes: :classpath => ClasspathPropertiesFileCredentialsProvider :default-chain => DefaultAWSCredentialsProviderChain :environment => EnvironmentVariableCredentialsProvider :instance-profile => InstanceProfileCredentialsProvider :system-properties => SystemPropertiesCredentialsProvider :sts-session => STSSessionCredentialsProvider
(credentials-provider-chain sources)
Creates a credentials provider chain from the sources given. See #'credentials-provider for supported sources.
Creates a credentials provider chain from the sources given. See #'credentials-provider for supported sources.
(get-credentials & sources)
Loads credentials using the default aws credentials provider chain or from the source(s) given in the order given order. Throws an exception if no credentials are found.
Loads credentials using the default aws credentials provider chain or from the source(s) given in the order given order. Throws an exception if no credentials are found.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close