Uses of Class
software.amazon.awscdk.core.SecretValue
Package
Description
AWS Cloud Development Kit Core Library
CDK Pipelines
AWS Amplify Construct Library
AWS CodeBuild Construct Library
AWS CodePipeline Actions
AWS::CodeStar Construct Library
Amazon DocumentDB Construct Library
Amazon EC2 Construct Library
Amazon ECS Construct Library
Amazon Elastic Load Balancing V2 Construct Library
Amazon OpenSearch Service Construct Library
Amazon EventBridge Construct Library
AWS Identity and Access Management Construct Library
Amazon OpenSearch Service Construct Library
Amazon Relational Database Service Construct Library
Amazon Redshift Construct Library
AWS Secrets Manager Construct Library
-
Uses of SecretValue in software.amazon.awscdk.core
Modifier and TypeMethodDescriptionSecretValue.Builder.build()
static SecretValue
SecretValue.cfnDynamicReference
(CfnDynamicReference ref) Obtain the secret value through a CloudFormation dynamic reference.static SecretValue
SecretValue.cfnParameter
(CfnParameter param) Obtain the secret value through a CloudFormation parameter.static SecretValue
Deprecated.static SecretValue
SecretValue.resourceAttribute
(String attr) Use a resource's output as secret value.static SecretValue
SecretValue.secretsManager
(String secretId) Creates aSecretValue
with a value which is dynamically loaded from AWS Secrets Manager.static SecretValue
SecretValue.secretsManager
(String secretId, SecretsManagerSecretOptions options) Creates aSecretValue
with a value which is dynamically loaded from AWS Secrets Manager.static SecretValue
Use a secret value stored from a Systems Manager (SSM) parameter.static SecretValue
Use a secret value stored from a Systems Manager (SSM) parameter.static SecretValue
SecretValue.unsafePlainText
(String secret) Construct a literal secret value for use with secret-aware constructs. -
Uses of SecretValue in software.amazon.awscdk.pipelines
Modifier and TypeMethodDescriptiondefault SecretValue
GitHubSourceOptions.getAuthentication()
A GitHub OAuth token to use for authentication.final SecretValue
GitHubSourceOptions.Jsii$Proxy.getAuthentication()
Modifier and TypeMethodDescriptionGitHubSourceOptions.Builder.authentication
(SecretValue authentication) Sets the value ofGitHubSourceOptions.getAuthentication()
-
Uses of SecretValue in software.amazon.awscdk.services.amplify
Modifier and TypeMethodDescriptiondefault SecretValue
SourceCodeProviderConfig.getAccessToken()
(experimental) Personal Access token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.final SecretValue
SourceCodeProviderConfig.Jsii$Proxy.getAccessToken()
GitHubSourceCodeProviderProps.getOauthToken()
(experimental) A personal access token with therepo
scope.final SecretValue
GitHubSourceCodeProviderProps.Jsii$Proxy.getOauthToken()
GitLabSourceCodeProviderProps.getOauthToken()
(experimental) A personal access token with therepo
scope.final SecretValue
GitLabSourceCodeProviderProps.Jsii$Proxy.getOauthToken()
default SecretValue
SourceCodeProviderConfig.getOauthToken()
(experimental) OAuth token for 3rd party source control system for an Amplify App, used to create webhook and read-only deploy key.final SecretValue
SourceCodeProviderConfig.Jsii$Proxy.getOauthToken()
default SecretValue
BasicAuthProps.getPassword()
(experimental) The password.final SecretValue
BasicAuthProps.Jsii$Proxy.getPassword()
Modifier and TypeMethodDescriptionSourceCodeProviderConfig.Builder.accessToken
(SecretValue accessToken) Sets the value ofSourceCodeProviderConfig.getAccessToken()
static BasicAuth
BasicAuth.fromCredentials
(String username, SecretValue password) (experimental) Creates a Basic Auth configuration from a username and a password.GitHubSourceCodeProvider.Builder.oauthToken
(SecretValue oauthToken) (experimental) A personal access token with therepo
scope.GitHubSourceCodeProviderProps.Builder.oauthToken
(SecretValue oauthToken) Sets the value ofGitHubSourceCodeProviderProps.getOauthToken()
GitLabSourceCodeProvider.Builder.oauthToken
(SecretValue oauthToken) (experimental) A personal access token with therepo
scope.GitLabSourceCodeProviderProps.Builder.oauthToken
(SecretValue oauthToken) Sets the value ofGitLabSourceCodeProviderProps.getOauthToken()
SourceCodeProviderConfig.Builder.oauthToken
(SecretValue oauthToken) Sets the value ofSourceCodeProviderConfig.getOauthToken()
BasicAuth.Builder.password
(SecretValue password) (experimental) The password.BasicAuthProps.Builder.password
(SecretValue password) Sets the value ofBasicAuthProps.getPassword()
-
Uses of SecretValue in software.amazon.awscdk.services.codebuild
Modifier and TypeMethodDescriptionGitHubEnterpriseSourceCredentialsProps.getAccessToken()
The personal access token to use when contacting the instance of the GitHub Enterprise API.final SecretValue
GitHubEnterpriseSourceCredentialsProps.Jsii$Proxy.getAccessToken()
GitHubSourceCredentialsProps.getAccessToken()
The personal access token to use when contacting the GitHub API.final SecretValue
GitHubSourceCredentialsProps.Jsii$Proxy.getAccessToken()
BitBucketSourceCredentialsProps.getPassword()
Your BitBucket application password.final SecretValue
BitBucketSourceCredentialsProps.Jsii$Proxy.getPassword()
BitBucketSourceCredentialsProps.getUsername()
Your BitBucket username.final SecretValue
BitBucketSourceCredentialsProps.Jsii$Proxy.getUsername()
Modifier and TypeMethodDescriptionGitHubEnterpriseSourceCredentials.Builder.accessToken
(SecretValue accessToken) The personal access token to use when contacting the instance of the GitHub Enterprise API.GitHubEnterpriseSourceCredentialsProps.Builder.accessToken
(SecretValue accessToken) Sets the value ofGitHubEnterpriseSourceCredentialsProps.getAccessToken()
GitHubSourceCredentials.Builder.accessToken
(SecretValue accessToken) The personal access token to use when contacting the GitHub API.GitHubSourceCredentialsProps.Builder.accessToken
(SecretValue accessToken) Sets the value ofGitHubSourceCredentialsProps.getAccessToken()
BitBucketSourceCredentials.Builder.password
(SecretValue password) Your BitBucket application password.BitBucketSourceCredentialsProps.Builder.password
(SecretValue password) Sets the value ofBitBucketSourceCredentialsProps.getPassword()
BitBucketSourceCredentials.Builder.username
(SecretValue username) Your BitBucket username.BitBucketSourceCredentialsProps.Builder.username
(SecretValue username) Sets the value ofBitBucketSourceCredentialsProps.getUsername()
-
Uses of SecretValue in software.amazon.awscdk.services.codepipeline.actions
Modifier and TypeMethodDescriptionAlexaSkillDeployActionProps.getClientSecret()
The client secret of the developer console token.final SecretValue
AlexaSkillDeployActionProps.Jsii$Proxy.getClientSecret()
GitHubSourceActionProps.getOauthToken()
A GitHub OAuth token to use for authentication.final SecretValue
GitHubSourceActionProps.Jsii$Proxy.getOauthToken()
AlexaSkillDeployActionProps.getRefreshToken()
The refresh token of the developer console token.final SecretValue
AlexaSkillDeployActionProps.Jsii$Proxy.getRefreshToken()
Modifier and TypeMethodDescriptionAlexaSkillDeployAction.Builder.clientSecret
(SecretValue clientSecret) The client secret of the developer console token.AlexaSkillDeployActionProps.Builder.clientSecret
(SecretValue clientSecret) Sets the value ofAlexaSkillDeployActionProps.getClientSecret()
GitHubSourceAction.Builder.oauthToken
(SecretValue oauthToken) A GitHub OAuth token to use for authentication.GitHubSourceActionProps.Builder.oauthToken
(SecretValue oauthToken) Sets the value ofGitHubSourceActionProps.getOauthToken()
AlexaSkillDeployAction.Builder.refreshToken
(SecretValue refreshToken) The refresh token of the developer console token.AlexaSkillDeployActionProps.Builder.refreshToken
(SecretValue refreshToken) Sets the value ofAlexaSkillDeployActionProps.getRefreshToken()
-
Uses of SecretValue in software.amazon.awscdk.services.codestar
Modifier and TypeMethodDescriptionGitHubRepositoryProps.getAccessToken()
(experimental) The GitHub user's personal access token for the GitHub repository.final SecretValue
GitHubRepositoryProps.Jsii$Proxy.getAccessToken()
Modifier and TypeMethodDescriptionGitHubRepository.Builder.accessToken
(SecretValue accessToken) (experimental) The GitHub user's personal access token for the GitHub repository.GitHubRepositoryProps.Builder.accessToken
(SecretValue accessToken) Sets the value ofGitHubRepositoryProps.getAccessToken()
-
Uses of SecretValue in software.amazon.awscdk.services.docdb
Modifier and TypeMethodDescriptiondefault SecretValue
Login.getPassword()
Password.final SecretValue
Login.Jsii$Proxy.getPassword()
Modifier and TypeMethodDescriptionLogin.Builder.password
(SecretValue password) Sets the value ofLogin.getPassword()
-
Uses of SecretValue in software.amazon.awscdk.services.ec2
Modifier and TypeMethodDescriptiondefault SecretValue
VpnTunnelOption.getPreSharedKeySecret()
The pre-shared key (PSK) to establish initial authentication between the virtual private gateway and customer gateway.final SecretValue
VpnTunnelOption.Jsii$Proxy.getPreSharedKeySecret()
Modifier and TypeMethodDescriptionVpnTunnelOption.Builder.preSharedKeySecret
(SecretValue preSharedKeySecret) Sets the value ofVpnTunnelOption.getPreSharedKeySecret()
-
Uses of SecretValue in software.amazon.awscdk.services.ecs
Modifier and TypeMethodDescriptiondefault SecretValue
SplunkLogDriverProps.getToken()
Deprecated.Useinvalid @link
SplunkLogDriverProps.secretToken
final SecretValue
SplunkLogDriverProps.Jsii$Proxy.getToken()
Modifier and TypeMethodDescriptionSplunkLogDriver.Builder.token
(SecretValue token) Deprecated.Useinvalid @link
SplunkLogDriverProps.secretToken
SplunkLogDriverProps.Builder.token
(SecretValue token) Deprecated.Useinvalid @link
SplunkLogDriverProps.secretToken
-
Uses of SecretValue in software.amazon.awscdk.services.elasticloadbalancingv2
Modifier and TypeMethodDescriptionAuthenticateOidcOptions.getClientSecret()
The OAuth 2.0 client secret.final SecretValue
AuthenticateOidcOptions.Jsii$Proxy.getClientSecret()
Modifier and TypeMethodDescriptionAuthenticateOidcOptions.Builder.clientSecret
(SecretValue clientSecret) Sets the value ofAuthenticateOidcOptions.getClientSecret()
-
Uses of SecretValue in software.amazon.awscdk.services.elasticsearch
Modifier and TypeMethodDescriptiondefault SecretValue
AdvancedSecurityOptions.getMasterUserPassword()
Deprecated.use opensearchservice module insteadfinal SecretValue
AdvancedSecurityOptions.Jsii$Proxy.getMasterUserPassword()
Deprecated.Domain.getMasterUserPassword()
Deprecated.use opensearchservice module insteadModifier and TypeMethodDescriptionAdvancedSecurityOptions.Builder.masterUserPassword
(SecretValue masterUserPassword) Deprecated.use opensearchservice module instead -
Uses of SecretValue in software.amazon.awscdk.services.events
Modifier and TypeMethodDescriptionOAuthAuthorizationProps.getClientSecret()
The client secret associated with the client ID to use for OAuth authorization for the connection.final SecretValue
OAuthAuthorizationProps.Jsii$Proxy.getClientSecret()
Modifier and TypeMethodDescriptionstatic Authorization
Authorization.apiKey
(String apiKeyName, SecretValue apiKeyValue) Use API key authorization.static Authorization
Authorization.basic
(String username, SecretValue password) Use username and password authorization.OAuthAuthorizationProps.Builder.clientSecret
(SecretValue clientSecret) Sets the value ofOAuthAuthorizationProps.getClientSecret()
static HttpParameter
HttpParameter.fromSecret
(SecretValue value) Make an OAuthParameter from a secret. -
Uses of SecretValue in software.amazon.awscdk.services.iam
Modifier and TypeMethodDescriptiondefault SecretValue
UserProps.getPassword()
The password for the user.final SecretValue
UserProps.Jsii$Proxy.getPassword()
AccessKey.getSecretAccessKey()
The Secret Access Key.IAccessKey.getSecretAccessKey()
The Secret Access Key.default SecretValue
IAccessKey.Jsii$Default.getSecretAccessKey()
The Secret Access Key.final SecretValue
IAccessKey.Jsii$Proxy.getSecretAccessKey()
The Secret Access Key.Modifier and TypeMethodDescriptionUser.Builder.password
(SecretValue password) The password for the user.UserProps.Builder.password
(SecretValue password) Sets the value ofUserProps.getPassword()
-
Uses of SecretValue in software.amazon.awscdk.services.opensearchservice
Modifier and TypeMethodDescriptiondefault SecretValue
AdvancedSecurityOptions.getMasterUserPassword()
Password for the master user.final SecretValue
AdvancedSecurityOptions.Jsii$Proxy.getMasterUserPassword()
Domain.getMasterUserPassword()
Master user password if fine grained access control is configured.Modifier and TypeMethodDescriptionAdvancedSecurityOptions.Builder.masterUserPassword
(SecretValue masterUserPassword) Sets the value ofAdvancedSecurityOptions.getMasterUserPassword()
-
Uses of SecretValue in software.amazon.awscdk.services.rds
Modifier and TypeMethodDescriptionabstract SecretValue
Credentials.getPassword()
Password.default SecretValue
CredentialsFromUsernameOptions.getPassword()
Password.final SecretValue
CredentialsFromUsernameOptions.Jsii$Proxy.getPassword()
abstract SecretValue
SnapshotCredentials.getPassword()
The master user password.Modifier and TypeMethodDescriptionstatic Credentials
Credentials.fromPassword
(String username, SecretValue password) Creates Credentials from a password.static SnapshotCredentials
SnapshotCredentials.fromPassword
(SecretValue password) Update the snapshot login with an existing password.CredentialsFromUsernameOptions.Builder.password
(SecretValue password) Sets the value ofCredentialsFromUsernameOptions.getPassword()
-
Uses of SecretValue in software.amazon.awscdk.services.redshift
Modifier and TypeMethodDescriptiondefault SecretValue
Login.getMasterPassword()
(experimental) Password.final SecretValue
Login.Jsii$Proxy.getMasterPassword()
IUser.getPassword()
(experimental) The password of the user.default SecretValue
IUser.Jsii$Default.getPassword()
(experimental) The password of the user.final SecretValue
IUser.Jsii$Proxy.getPassword()
(experimental) The password of the user.User.getPassword()
(experimental) The password of the user.UserAttributes.getPassword()
(experimental) The password of the user.final SecretValue
UserAttributes.Jsii$Proxy.getPassword()
Modifier and TypeMethodDescriptionLogin.Builder.masterPassword
(SecretValue masterPassword) Sets the value ofLogin.getMasterPassword()
UserAttributes.Builder.password
(SecretValue password) Sets the value ofUserAttributes.getPassword()
-
Uses of SecretValue in software.amazon.awscdk.services.secretsmanager
Modifier and TypeMethodDescriptiondefault SecretValue
SecretProps.getSecretStringValue()
Initial value for the secret.final SecretValue
SecretProps.Jsii$Proxy.getSecretStringValue()
ISecret.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.default SecretValue
ISecret.Jsii$Default.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.final SecretValue
ISecret.Jsii$Proxy.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.default SecretValue
ISecretTargetAttachment.Jsii$Default.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.final SecretValue
ISecretTargetAttachment.Jsii$Proxy.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.Secret.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.SecretTargetAttachment.getSecretValue()
Retrieve the value of the stored secret as aSecretValue
.default SecretValue
ISecret.Jsii$Default.secretValueFromJson
(String key) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.final SecretValue
ISecret.Jsii$Proxy.secretValueFromJson
(String key) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.ISecret.secretValueFromJson
(String key) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.default SecretValue
ISecretTargetAttachment.Jsii$Default.secretValueFromJson
(String key) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.final SecretValue
ISecretTargetAttachment.Jsii$Proxy.secretValueFromJson
(String key) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.Secret.secretValueFromJson
(String jsonField) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.SecretTargetAttachment.secretValueFromJson
(String jsonField) Interpret the secret as a JSON object and return a field's value from it as aSecretValue
.Modifier and TypeMethodDescriptionSecret.Builder.secretStringValue
(SecretValue secretStringValue) Initial value for the secret.SecretProps.Builder.secretStringValue
(SecretValue secretStringValue) Sets the value ofSecretProps.getSecretStringValue()
unsafePlainText()
instead.