Liking cljdoc? Tell your friends :D

pl.rynkowski.awscredentials.aws-api-extras


assumed-role-credentials-providerclj

(assumed-role-credentials-provider
  {:keys [source-provider role-arn http-client session-name]
   :or {session-name (str (System/currentTimeMillis))
        http-client (aws/default-http-client)}})

Returns a CredentialsProvider that calls STS:AssumeRole using source-provider. Wrapped with cached auto-refresh so creds renew before expiration.

Returns a CredentialsProvider that calls STS:AssumeRole using `source-provider`.
Wrapped with cached auto-refresh so creds renew before expiration.
sourceraw docstring

chain-credentials-providerclj

(chain-credentials-provider providers)

Exact copy of cognitect.aws.credentials/chain-credentials-provider/

This variant of chain-credentials-provider contains a mandatory cache of provider. It can't be disabled.

Exact copy of `cognitect.aws.credentials/chain-credentials-provider`/

This variant of chain-credentials-provider contains a mandatory cache of provider.
It can't be disabled.
sourceraw docstring

chain-credentials-provider-v2clj

(chain-credentials-provider-v2 {:keys [providers cache-provider?]
                                :or {cache-provider? true}})

Variant of chain-credentials-provider that allows to disable provider caching.

Variant of chain-credentials-provider that allows to disable provider caching.
sourceraw docstring

container-credentials-providerclj

(container-credentials-provider http-client)

Copy of cognitect.aws.credentials/container-credentials-provider without caching credentials.

Copy of `cognitect.aws.credentials/container-credentials-provider` without caching credentials.
sourceraw docstring

default-credentials-provider-v2clj

(default-credentials-provider-v2 {:keys [http-client cache-provider?
                                         cache-credentials?]})

Variant of cognitect.aws.credentials/default-credentials-provider allowing to toggle caching. Both credentials cache and providers cache can be enabled or disabled.

Variant of `cognitect.aws.credentials/default-credentials-provider` allowing to toggle caching.
Both credentials cache and providers cache can be enabled or disabled.
sourceraw docstring

environment-credentials-providerclj

(environment-credentials-provider)

Copy of cognitect.aws.credentials/environment-credentials-provider without caching credentials.

Copy of `cognitect.aws.credentials/environment-credentials-provider` without caching credentials.
sourceraw docstring

fetchclj

Public alias to cognitect.aws.credentials/fetch (protocol fn).

Public alias to cognitect.aws.credentials/fetch (protocol fn).
sourceraw docstring

format-durationclj

(format-duration now expiration)
source

instance-profile-credentials-providercljdeprecated

(instance-profile-credentials-provider http-client)

Copy of cognitect.aws.credentials/instance-profile-credentials-provider without caching credentials.

Copy of `cognitect.aws.credentials/instance-profile-credentials-provider` without caching credentials.
sourceraw docstring

instance-profile-IMDSv2-credentials-providerclj

(instance-profile-IMDSv2-credentials-provider http-client)

Copy of cognitect.aws.credentials/instance-profile-IMDSv2-credentials-provider without caching credentials.

Copy of `cognitect.aws.credentials/instance-profile-IMDSv2-credentials-provider` without caching credentials.
sourceraw docstring

log-expirationclj

(log-expiration creds)
source

profile-credentials-providerclj

(profile-credentials-provider)
(profile-credentials-provider profile-name)
(profile-credentials-provider profile-name f)

Copy of cognitect.aws.credentials/profile-credentials-provider without caching credentials.

Copy of `cognitect.aws.credentials/profile-credentials-provider` without caching credentials.
sourceraw docstring

reconfigurable-credentials-providerclj

(reconfigurable-credentials-provider
  {:keys [http-client cache-provider? cache-credentials? providers]
   :as _cfg
   :or {cache-provider? true cache-credentials? true}})
source

ReconfigurableCredentialscljprotocol

-reconfigure!clj

(-reconfigure! this cfg)

Refresh provider using given cfg.

Refresh provider using given cfg.
source

RefreshableCredentialscljprotocol

-refresh!clj

(-refresh! this)

Refresh provider using previously set config.

Refresh provider using previously set config.
source

system-property-credentials-providerclj

(system-property-credentials-provider)

Copy of cognitect.aws.credentials/system-property-credentials-provider without caching credentials & refresh.

Copy of `cognitect.aws.credentials/system-property-credentials-provider` without caching credentials & refresh.
sourceraw docstring

cljdoc builds & hosts documentation for Clojure/Script libraries

Keyboard shortcuts
Ctrl+kJump to recent docs
Move to previous article
Move to next article
Ctrl+/Jump to the search field
× close