The API for this namespace is the function profile-credentials-provider
.
It allows to use CLI named profiles that are base on a role to be assumed and a source profile.
It builds upon the cognitect.aws.credentials
namespace and the example found at
https://github.com/cognitect-labs/aws-api/blob/master/examples/assume_role_example.clj
The API for this namespace is the function [[profile-credentials-provider]]. It allows to use CLI named profiles that are base on a role to be assumed and a source profile. It builds upon the `cognitect.aws.credentials` namespace and the example found at https://github.com/cognitect-labs/aws-api/blob/master/examples/assume_role_example.clj
(assume-role-from-profile-provider role-arn source-profile f)
A credential provider that gives no credentials.
A credential provider that gives no credentials.
(profile-credentials-provider)
(profile-credentials-provider profile-name)
(profile-credentials-provider profile-name f)
Return credentials in an AWS configuration profile. Arguments: profile-name string The name of the profile in the file. (default: default) f File The profile configuration file. (default: ~/.aws/credentials) https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html Parsed properties (2 set)
Return credentials in an AWS configuration profile. Arguments: profile-name string The name of the profile in the file. (default: default) f File The profile configuration file. (default: ~/.aws/credentials) https://docs.aws.amazon.com/sdk-for-java/v1/developer-guide/credentials.html Parsed properties (2 set) 1. aws_access_key required aws_secret_access_key required aws_session_token optional 2. role_arn required source_profile required
(scan-for-aws-profile-name)
(scan-for-credentials-file)
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close