Interface IApiKeyCredentialProvider
- All Superinterfaces:
IApiKeyCredentialProviderRef,software.constructs.IConstruct,software.constructs.IDependable,IEnvironmentAware,IGrantable,IResource,software.amazon.jsii.JsiiSerializable
- All Known Subinterfaces:
IApiKeyCredentialProvider.Jsii$Default
- All Known Implementing Classes:
ApiKeyCredentialProvider,IApiKeyCredentialProvider.Jsii$Proxy
@Generated(value="jsii-pacmak/1.129.0 (build eaca441)",
date="2026-05-19T08:18:44.419Z")
@Stability(Stable)
public interface IApiKeyCredentialProvider
extends software.amazon.jsii.JsiiSerializable, IResource, IGrantable, IApiKeyCredentialProviderRef
An API key credential provider registered in AgentCore Token Vault.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInternal default implementation forIApiKeyCredentialProvider.static final classA proxy class which represents a concrete javascript instance of this type. -
Method Summary
Modifier and TypeMethodDescriptionARNs for use with gateway targets (GatewayCredentialProvider.fromApiKeyIdentityorfromApiKeyIdentityArn).default StringThe ARN of the Secrets Manager secret that stores the API key after the resource is created.default StringTimestamp when the credential provider was created.The ARN of this credential provider.default StringTimestamp when the credential provider was last updated.grant(IGrantable grantee, String... actions) Grants IAM actions to the IAM principal.grantAdmin(IGrantable grantee) Grant control plane permissions to manage this provider.grantFullAccess(IGrantable grantee) Grant read, admin, and credential retrieval permissions.grantRead(IGrantable grantee) GrantGetApiKeyCredentialProviderandListApiKeyCredentialProviders, scoped to this provider and parent resources required by the Bedrock AgentCore authorization model.grantUse(IGrantable grantee) Grant permission to retrieve API key material for outbound calls (GetResourceApiKey).Methods inherited from interface software.amazon.awscdk.interfaces.bedrockagentcore.IApiKeyCredentialProviderRef
getApiKeyCredentialProviderRefMethods inherited from interface software.constructs.IConstruct
getNode, withMethods inherited from interface software.amazon.awscdk.interfaces.IEnvironmentAware
getEnvMethods inherited from interface software.amazon.awscdk.services.iam.IGrantable
getGrantPrincipalMethods inherited from interface software.amazon.awscdk.IResource
applyRemovalPolicy, getStackMethods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getCredentialProviderArn
The ARN of this credential provider. -
getApiKeySecretArn
The ARN of the Secrets Manager secret that stores the API key after the resource is created.May be undefined for resources imported without this attribute.
-
getCreatedTime
Timestamp when the credential provider was created. -
getLastUpdatedTime
Timestamp when the credential provider was last updated. -
bindForGatewayApiKeyTarget
ARNs for use with gateway targets (GatewayCredentialProvider.fromApiKeyIdentityorfromApiKeyIdentityArn). -
grant
Grants IAM actions to the IAM principal.- Parameters:
grantee- This parameter is required.actions- This parameter is required.
-
grantAdmin
Grant control plane permissions to manage this provider.- Parameters:
grantee- This parameter is required.
-
grantFullAccess
Grant read, admin, and credential retrieval permissions.- Parameters:
grantee- This parameter is required.
-
grantRead
GrantGetApiKeyCredentialProviderandListApiKeyCredentialProviders, scoped to this provider and parent resources required by the Bedrock AgentCore authorization model.- Parameters:
grantee- This parameter is required.
-
grantUse
Grant permission to retrieve API key material for outbound calls (GetResourceApiKey).- Parameters:
grantee- This parameter is required.
-