Class: Aws::SecretsManager::Types::GetResourcePolicyResponse
- Inherits:
-
Struct
- Object
- Struct
- Aws::SecretsManager::Types::GetResourcePolicyResponse
- Includes:
- Aws::Structure
- Defined in:
- lib/aws-sdk-secretsmanager/types.rb
Overview
Instance Attribute Summary collapse
-
#arn ⇒ String
The ARN of the secret that the resource-based policy was retrieved for.
-
#name ⇒ String
The friendly name of the secret that the resource-based policy was retrieved for.
-
#resource_policy ⇒ String
A JSON-formatted string that describes the permissions that are associated with the attached secret.
Instance Attribute Details
#arn ⇒ String
The ARN of the secret that the resource-based policy was retrieved for.
793 794 795 796 797 798 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 793 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy) include Aws::Structure end |
#name ⇒ String
The friendly name of the secret that the resource-based policy was retrieved for.
793 794 795 796 797 798 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 793 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy) include Aws::Structure end |
#resource_policy ⇒ String
A JSON-formatted string that describes the permissions that are associated with the attached secret. These permissions are combined with any permissions that are associated with the user or role that attempts to access this secret. The combined permissions specify who can access the secret and what actions they can perform. For more information, see [Authentication and Access Control for AWS Secrets Manager] in the *AWS Secrets Manager User Guide*.
[1]: docs.aws.amazon.com/secretsmanager/latest/userguide/auth-and-access.html
793 794 795 796 797 798 |
# File 'lib/aws-sdk-secretsmanager/types.rb', line 793 class GetResourcePolicyResponse < Struct.new( :arn, :name, :resource_policy) include Aws::Structure end |