Puppet Task: secretsmanager_aws_get_resource_policy
  
    - Defined in:
- 
      tasks/secretsmanager_aws_get_resource_policy.json,
 tasks/secretsmanager_aws_get_resource_policy.rb
 
 
    
  
  
Overview
  
    Retrieves the JSON text of the resource-based policy document that's attached to the specified secret. The JSON request string input and response output are shown formatted with white space and line breaks for better readability. Submit your input as a single line JSON string.  Minimum permissions  To run this command, you must have the following permissions:   secretsmanager:GetResourcePolicy    Related operations    To attach a resource policy to a secret, use PutResourcePolicy.   To delete the resource-based policy that's attached to a secret, use DeleteResourcePolicy.   To list all of the currently available secrets, use ListSecrets.