Ransomware attackers specifically target and attempt to destroy backup systems to increase the probability of payment. Hardening your system is critical. Please ensure you have reviewed your platform security using the Security Hardening Checklist
Cohesity

COHESITY Documentation

Explore our documentation to get started, discover products & new features, access troubleshooting guides, register sources, platforms support.

Products
Data Security Alliance
Visit Cohesity.com
Demos
Support
Blogs
Developers
Partner Portals
Cohesity Community
© 2026 Cohesity, Inc. All Rights Reserved.
Terms of Use|
Privacy Policy|
Legal|
  1. Home
  2. NetBackup™ Deduplication Guide
  3. S3 Interface for MSDP
  4. Identity and Access Management (IAM) for S3 interface for MSDP
  5. IAM APIs for S3 interface for MSDP
  6. GetUserPolicy
NetBackup™ Deduplication Guide

GetUserPolicy

Retrieves the specified inline policy document that is embedded in the specified IAM user.

Request Parameters

For information about the parameters that are common to all actions, See Common Parameters.

  • PolicyName

    The name of the policy document to get.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 128.

    Pattern: [\w+=,.@-]+

    Required: Yes

  • UserName

    The name of the user who the policy is associated with.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 64.

    Pattern: [\w+=,.@-]+

    Required: Yes

Response Elements

The following elements are returned by server.

  • PolicyDocument

    The policy document.

    IAM stores policies in JSON format.

    Type: String

  • PolicyName

    The name of the policy.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 128.

    Pattern: [\w+=,.@-]+

  • UserName

    The user the policy is associated with.

    Type: String

    Length Constraints: Minimum length of 1. Maximum length of 128.

    Pattern: [\w+=,.@-]+

Errors

For information about the errors that are common to all actions, See Common Error Codes.

  • NoSuchEntity

    The request was rejected because it referenced a resource entity that does not exist. The error message describes the resource.

    HTTP Status Code: 404

  • ServiceFailure

    The request processing has failed because of an unknown error, exception, or failure.

    HTTP Status Code: 500

Examples

Sample Request:

https://msdps3.veritas.com:8443/?Action=GetUserPolicy
&UserName=User1
&PolicyName=ExamplePolicy
&Version=2010-05-08
&AUTHPARAMS

Sample Response:

<?xml version="1.0" encoding="UTF-8"?>
<GetUserPolicyResponse
  xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
  <ResponseMetadata>
    <RequestId>1648441417449582212</RequestId>
  </ResponseMetadata>
  <GetUserPolicyResult>
    <UserName>User1</UserName>
    <PolicyName>ExamplePolicy</PolicyName>
    <PolicyDocument>{"Version":"2012-10-17","Statement":[{"Effect":"Allow",
    "Action":["s3:*"],"Resource":["arn:aws:s3:::bkt3/*"]}]}</PolicyDocument>
  </GetUserPolicyResult>
</GetUserPolicyResponse>

Feedback

Was this page helpful?
Previous

PutUserPolicy

Next

ListUserPolicies

Feedback

Was this page helpful?