SAVE AS PDF
Lyve Cloud Object Storage API User Guide 
Lyve Cloud Object Storage API User Guide 

Was this content helpful?

OPEN MENU CLOSE MENU

User Management (IAM)

The IAM endpoint (https://iam.example.lyve.seagate.com) allows managing user accounts and permissions. Requests to the IAM endpoint must be signed specifying "iam" as service.

User

A user can access the system either by logging in via email and password, or via one of its access keys, and perform actions according to its role and attached policies. Note that, for all users, the username coincides with the email.

A user belong to one of the following roles:

RoleDescription
RootIs the initial and main user of the account, has permissions on all buckets, and is able to manage users and policies. It cannot be deleted.
AdminCan manage users and policies, with the exception of the Root account.
UserCan perform operations on buckets according to the policies it is attached. Can change own password, create and revoke own access keys.

Policies

A policy defines a set of permissions on buckets, and can be attached to a set of users.

AttachUserPolicy

Attaches a policy to a user.

POST parameters

ParameterDescription
ActionMust be set to AttachUserPolicy
VersionMust be set to 2010-05-08
UserNameName of the user the policy will be attached to
PolicyArnARN of the policy to attach

Example request


    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: 86
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=AttachUserPolicy&
    PolicyArn=arn:aws:iam::000000000000:policy/SomePolicy&
    UserName=user@example.com&
    Version=2010-05-08
  

Example response


    <AttachUserPolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>gf7hb0r6v5ix</RequestId>
      </ResponseMetadata>
    </AttachUserPolicyResponse>
  

ChangePassword

Changes the password of the user making the request. It requires providing the old password.

POST parameters

ParameterDescription
ActionMust be set to ChangePassword
VersionMust be set to 2010-05-08
OldPasswordOld password of the current user
NewPasswordNew password for the current user. Must be at least 10 characters and contain numbers, lowercase and uppercase letters

Example request


    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: 86
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ChangePassword&
    OldPassword=Password00&
    NewPassword=Password01&
    Version=2010-05-08
  

Example response


    <ChangePasswordResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>EXAMPLE</RequestId>
      </ResponseMetadata>
    </ChangePasswordResponse>
  

CreateAccessKey

Creates a new access key for the specified user.

POST parameters

ParameterDescription
ActionMust be set to CreateAccessKey
VersionMust be set to 2010-05-08
UserNameUsername of the user for whom the access key should be created. If not specified, it defaults to the user making the request.

Example request


    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=CreateAccessKey&
    UserName=user@example.com&
    Version=2010-05-08
  

Example response

  
    <CreateAccessKeyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>830kau3a8zis</RequestId>
      </ResponseMetadata>
      <CreateAccessKeyResult>
        <AccessKey>
          <UserName>user@example.com</UserName>
          <AccessKeyId>AWS4AKIAKMEQGHROSDH7BKLB4QMNZAVANP4PGEZYJSWPBI4P4GTWGXDC</AccessKeyId>
          <Status>Active</Status>
          <SecretAccessKey>HCXL33NNPWX2EVEFHUZIGM234UJ64PUP2444OIFE3EOZHGVUG2GQ</SecretAccessKey>
        </AccessKey>
      </CreateAccessKeyResult>
    </CreateAccessKeyResponse>
  

CreatePolicy

Creates a new policy. Note that, except for the PolicyDocument, the other parameters cannot be updated after creation.

POST parameters

ParameterDescription
ActionMust be set to CreatePolicy
VersionMust be set to 2010-05-08
DescriptionUser-friendly description of the policy
PolicyDocumentPolicy document in the AWS policy format
PolicyNameName for the new policy

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=CreatePolicy&
    Description=Gives all permissions for the bucket "abc-bucket"&
    Path=/&
    PolicyDocument={"Statement":[{"Action":["s3:GetObject","s3:PutObject","s3:DeleteObject","s3:ListBucket"],"Effect":"Allow","Resource":"arn:aws:s3:::abc-bucket*"},{"Action":["s3:ListAllMyBuckets"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17","Managed":true}&
    PolicyName=NewPolicy4567&
    Version=2010-05-08
  

Example response

  
    <CreatePolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>zd167x71f527</RequestId>
      </ResponseMetadata>
      <CreatePolicyResult>
        <Policy>
          <PolicyName>NewPolicy4567</PolicyName>
          <DefaultVersionId>v1</DefaultVersionId>
          <PolicyId>ANPASMVHTBHTUB7AMZUTK</PolicyId>
          <Path>/</Path>
          <Arn>arn:aws:iam::000000000000:policy/NewPolicy4567</Arn>
          <AttachmentCount>0</AttachmentCount>
          <CreateDate>2019-03-25T09:16:31.497Z</CreateDate>
          <UpdateDate>2019-03-25T09:16:31.497Z</UpdateDate>
          <Description></Description>
        </Policy>
      </CreatePolicyResult>
    </CreatePolicyResponse>
  

CreatePolicyVersion

Updates a policy, creating a new version

POST parameters

ParameterDescription
ActionMust be set to CreatePolicyVersion
VersionMust be set to 2010-05-08
SetAsDefaultIf set to true, sets the new version as default, making it in effect
PolicyDocumentPolicy document in the AWS policy format
PolicyArnARN of the policy to update

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=CreatePolicyVersion&
    PolicyArn=arn:aws:iam::000000000000:policy/NewPolicy4567&
    PolicyDocument={"Statement":[{"Action":["s3:GetObject","s3:ListBucket"],"Effect":"Allow","Resource":"*"},{"Action":["s3:ListAllMyBuckets"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17"}&
    SetAsDefault=true&
    Version=2010-05-08
  

Example response

  
    <CreatePolicyVersionResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>kbslm8tegjc8</RequestId>
      </ResponseMetadata>
      <CreatePolicyVersionResult>
        <PolicyVersion>
          <IsDefaultVersion>true</IsDefaultVersion>
          <VersionId>vGRC019YCN3QZ</VersionId>
          <CreateDate>2019-03-25T09:16:31.497Z</CreateDate>
        </PolicyVersion>
      </CreatePolicyVersionResult>
    </CreatePolicyVersionResponse>
  

CreateUser

Creates a new user with the specified email address.

POST parameters

ParameterDescription
ActionMust be set to CreateUser
VersionMust be set to 2010-05-08
UserNameEmail of the user to create

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=CreateUser&
    UserName=user2@example.com&
    Version=2010-05-08
  

Example response

  
    <CreateUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>t3v4bkwxvk0k</RequestId>
      </ResponseMetadata>
      <CreateUserResult>
        <User>
          <Path></Path>
          <UserName>cshhkvuc3sym@example.com</UserName>
          <UserId>100000000546</UserId>
          <Arn>arn:aws:iam::000000000000:user/cshhkvuc3sym@example.com</Arn>
        </User>
      </CreateUserResult>
    </CreateUserResponse>
  

DeleteAccessKey

Deletes the specified access key. Both the email of the user the key belongs to and the access key id should be specified. If the email of the user is not provided, it defaults to the user making the request.

POST parameters

ParameterDescription
ActionMust be set to DeleteAccessKey
VersionMust be set to 2010-05-08
UserNameEmail of the user whose access key should be deleted
AccessKeyIdID of the access key to delete

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    AccessKeyId=AWS4AKIAUAAECGIBEUZO3FG2GZBERAAGU2RXEVJYATF2A5XYSYCHCK4V&
    Action=DeleteAccessKey&
    UserName=user2@example.com&
    Version=2010-05-08
  

Example response

  
    <DeleteAccessKeyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>wztbdx32kks5</RequestId>
      </ResponseMetadata>
    </DeleteAccessKeyResponse>
  

DeletePolicy

Deletes the specified policy, if this is not attached to any user, and all of its previous versions (if any) have been previously deleted. You can use respectively DetachUserPolicy and DeletePolicyVersion to detach the policy from users, and to remove the previous policy versions.

POST parameters

ParameterDescription
ActionMust be set to DeletePolicy
VersionMust be set to 2010-05-08
PolicyArnARN of the policy to delete

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=DeletePolicy&
    PolicyArn=arn:aws:iam::000000000000:policy/TestA24152&
    Version=2010-05-08
  

Example response

  
    <DeletePolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>alweq16xfjj9</RequestId>
      </ResponseMetadata>
    </DeletePolicyResponse>
  

DeletePolicyVersion

Deletes the specified policy, if this is not attached to any user, and all of its previous versions (if any) have been previously deleted. You can use respectively DetachUserPolicy and DeletePolicyVersion to detach the policy from users, and to remove the previous policy versions.

POST parameters

ParameterDescription
ActionMust be set to DeletePolicyVersion
VersionMust be set to 2010-05-08
PolicyArnARN of the policy whose version you wish to delete
VersionIdID of the version to delete, as returned by GetPolicy or ListPolicyVersions

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=DeletePolicy&
    PolicyArn=arn:aws:iam::000000000000:policy/TestA24152&
    VersionId=vMFW10Z4EF4HL&
    Version=2010-05-08
  

Example response

  
    <DeletePolicyVersionResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>caonjqj712u7</RequestId>
      </ResponseMetadata>
    </DeletePolicyVersionResponse>
  

DeleteUser

Deletes the specified user. Note that before deleting the user, you must first delete all of its keys, and detach all policies from it. Note also that a user cannot delete itself, and that a root user cannot be deleted.

POST parameters

ParameterDescription
ActionMust be set to DeletePolicyVersion
VersionMust be set to 2010-05-08
UserNameEmail of the user to delete

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=DeleteUser
    &UserName=TestUser256@example.com
    &Version=2010-05-08
  

Example response

  
    <DeleteUserResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>5tk62707tkxv</RequestId>
      </ResponseMetadata>
    </DeleteUserResponse>
  

DetachUserPolicy

Detaches a policy from a user.

POST parameters

ParameterDescription
ActionMust be set to DetachUserPolicy
VersionMust be set to 2010-05-08
UserNameEmail of the user to delete
PolicyArnARN of the policy the to detach

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=DetachUserPolicy&
    PolicyArn=arn:aws:iam::000000000000:policy/ABCABC&
    UserName=user1@example.com&
    Version=2010-05-08
  

Example response

  
    <DetachUserPolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>a95qpalps1gc</RequestId>
      </ResponseMetadata>
    </DetachUserPolicyResponse>
  

GetPolicy

Gets metadata about a given policy

POST parameters

ParameterDescription
ActionMust be set to GetPolicy
VersionMust be set to 2010-05-08
PolicyArnARN of the policy

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=GetPolicy&
    PolicyArn=arn:aws:iam::000000000000:policy/ABCABC&
    Version=2010-05-08
  

Example response

  
    <GetPolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>1hxikd7dm49b</RequestId>
      </ResponseMetadata>
      <GetPolicyResult>
        <Policy>
          <PolicyName>ABCABC</PolicyName>
          <DefaultVersionId>vMFW10Z4EF4HL</DefaultVersionId>
          <PolicyId>ANVAP1OHCTVKCZR4TWB3F</PolicyId>
          <Path>/</Path>
          <Arn>arn:aws:iam::000000000000:policy/ABCABC</Arn>
          <AttachmentCount>2</AttachmentCount>
          <CreateDate>2019-03-14T11:23:36.776Z</CreateDate>
          <UpdateDate>2019-03-14T11:23:36.776Z</UpdateDate>
          <Description>policy description</Description>
        </Policy>
      </GetPolicyResult>
    </GetPolicyResponse>
  

GetPolicyVersion

Gets the specified policy version, with its policy document

POST parameters

ParameterDescription
ActionMust be set to GetPolicyVersion
VersionMust be set to 2010-05-08
PolicyArnARN of the policy
VersionIdID of the policy version

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=GetPolicyVersion&
    PolicyArn=arn:aws:iam::000000000000:policy/ABCABC&
    Version=2010-05-08&
    VersionId=vMFW10Z4EF4HL
  

Example response

  
    <GetPolicyVersionResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>s9h55m6gm6st</RequestId>
      </ResponseMetadata>
      <GetPolicyVersionResult>
        <PolicyVersion>
          <Document>{"Statement":[{"Action":["s3:GetObject","s3:PutObject","s3:DeleteObject","s3:ListBucket"],"Effect":"Allow","Resource":"arn:aws:s3:::testbucket*"},{"Action":["s3:PutObject","s3:DeleteObject"],"Effect":"Allow","Resource":"arn:aws:s3:::abc-bucket*"},{"Action":["s3:ListAllMyBuckets"],"Effect":"Allow","Resource":"*"}],"Version":"2012-10-17","Managed":true}</Document>
          <IsDefaultVersion>true</IsDefaultVersion>
          <VersionId>vMFW10Z4EF4HL</VersionId>
          <CreateDate>2019-03-14T11:23:36.776Z</CreateDate>
        </PolicyVersion>
      </GetPolicyVersionResult>
    </GetPolicyVersionResponse>
  

ListAccessKeys

Retrieves a list of the access keys belonging to a given user

POST parameters

ParameterDescription
ActionMust be set to ListAccessKeys
VersionMust be set to 2010-05-08
UserNameEmail of the user whose access keys should be listed

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ListAccessKeys&
    UserName=user@example.com&
    Version=2010-05-08
  

Example response

  
    <ListAccessKeysResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>hhbsxpz2r66y</RequestId>
      </ResponseMetadata>
      <ListAccessKeysResult>
        <AccessKeyMetadata>
          <member>
            <UserName>user@example.com</UserName>
            <AccessKeyId>AWS4AKIANWYVBGWUGE2PQY7HPOH4QNI6SDDSA6UPQFCTRFLHVCKBZCGA</AccessKeyId>
            <Status>Active</Status>
            <CreateDate>2019-03-15T16:56:56.434Z</CreateDate>
          </member>
          <member>
            <UserName>user@example.com</UserName>
            <AccessKeyId>AWS4AMQVFJACLX5R6FCBRFR3Z2LMYP5KBFBQCVQW3JFARBENYJC6SLZA</AccessKeyId>
            <Status>Active</Status>
            <CreateDate>2019-03-14T12:00:30.358Z</CreateDate>
          </member>
        </AccessKeyMetadata>
        <UserName>user@example.com</UserName>
        <IsTruncated>false</IsTruncated>
      </ListAccessKeysResult>
    </ListAccessKeysResponse>
  

ListAttachedUserPolicies

Retrieves a list of the policies attached to a given user.

ParameterDescription
ActionMust be set to ListAttachedUserPolicies
VersionMust be set to 2010-05-08
UserNameEmail of the user whose attached policies should be listed

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ListAttachedUserPolicies&
    UserName=user@example.com&
    Version=2010-05-08
  

Example response

  
    <ListAttachedUserPoliciesResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>6brrrkcl3nem</RequestId>
      </ResponseMetadata>
      <ListAttachedUserPoliciesResult>
        <AttachedPolicies>
          <member>
            <PolicyName>Policy1</PolicyName>
            <PolicyArn>arn:aws:iam::000000000000:policy/Policy1</PolicyArn>
          </member>
        </AttachedPolicies>
        <IsTruncated>false</IsTruncated>
        <Marker></Marker>
      </ListAttachedUserPoliciesResult>
    </ListAttachedUserPoliciesResponse>
  

ListEntitiesForPolicy

Retrieves a list of all the users to which the specified policy is attached.

POST parameters

ParameterDescription
ActionMust be set to ListEntitiesForPolicy
VersionMust be set to 2010-05-08
PolicyArnARN of the policy

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ListEntitiesForPolicy
    &PolicyArn=arn:aws:iam::000000000000:policy/ABCABC
    &Version=2010-05-08
  

Example response

  
    <ListEntitiesForPolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>7pzdvnk5er4i</RequestId>
      </ResponseMetadata>
      <ListEntitiesForPolicyResult>
        <PolicyUsers>
          <member>
            <UserName>user2@example.com</UserName>
          </member>
          <member>
            <UserName>user@example.com</UserName>
          </member>
        </PolicyUsers>
        <PolicyRoles></PolicyRoles>
        <PolicyGroups></PolicyGroups>
        <IsTruncated>false</IsTruncated>
      </ListEntitiesForPolicyResult>
    </ListEntitiesForPolicyResponse>
  

ListPolicies

Retrieves a list of all the policies. The list can be optionally filtered by specifying PathPrefix or OnlyAttached.

POST parameters

ParameterDescription
ActionMust be set to ListPolicies
VersionMust be set to 2010-05-08
PathPrefixIf specified, only the policies having a Path with the given prefix are returned
OnlyAttachedIf specified, only the policies attached to some user are returned

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ListPolicies
    &Version=2010-05-08
  

Example response

  
    <ListPoliciesResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>s5eb8nlvydf2</RequestId>
      </ResponseMetadata>
      <ListPoliciesResult>
        <Policies>
          <member>
            <PolicyName>Policy1</PolicyName>
            <DefaultVersionId>vMFW10Z4EF4HL</DefaultVersionId>
            <PolicyId>ANVAP1OHCTVKCZR4TWB3F</PolicyId>
            <Path>/</Path>
            <Arn>arn:aws:iam::000000000000:policy/Policy1</Arn>
            <AttachmentCount>2</AttachmentCount>
            <CreateDate>2019-03-14T11:23:36.776Z</CreateDate>
            <UpdateDate>2019-03-14T11:23:36.776Z</UpdateDate>
            <Description>first test policy</Description>
          </member>
          <member>
            <PolicyName>Policy2</PolicyName>
            <DefaultVersionId>v0169a042bpk3</DefaultVersionId>
            <PolicyId>ANVAEQ3KKQOMWALATC1QT</PolicyId>
            <Path>/</Path>
            <Arn>arn:aws:iam::000000000000:policy/Policy2</Arn>
            <AttachmentCount>3</AttachmentCount>
            <CreateDate>2019-03-12T14:11:38.767Z</CreateDate>
            <UpdateDate>2019-03-12T14:11:38.767Z</UpdateDate>
            <Description>second test policy</Description>
          </member>
        </Policies>
        <IsTruncated>false</IsTruncated>
        <Marker></Marker>
      </ListPoliciesResult>
    </ListPoliciesResponse>
  

ListPolicyVersions

Retrieves a list of versions of a specified policy

POST parameters

ParameterDescription
ActionMust be set to ListPolicyVersions
VersionMust be set to 2010-05-08
PolicyArnARN of the policy

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ListPolicyVersions
    &PolicyArn=arn:aws:iam::000000000000:policy/TestPolicy
    &Version=2010-05-08
  

Example response

  
    <ListPolicyVersionsResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
      <ResponseMetadata>
        <RequestId>s77xvbxffqqb</RequestId>
      </ResponseMetadata>
      <ListPolicyVersionsResult>
        <Versions>
          <member>
            <IsDefaultVersion>false</IsDefaultVersion>
            <VersionId>v1</VersionId>
            <CreateDate>2019-03-14T11:23:36.776Z</CreateDate>
          </member>
          <member>
            <IsDefaultVersion>true</IsDefaultVersion>
            <VersionId>v2Z0F1XI574I7</VersionId>
            <CreateDate>2019-03-14T11:37:20.523Z</CreateDate>
          </member>
        </Versions>
        <IsTruncated>false</IsTruncated>
        <Marker></Marker>
      </ListPolicyVersionsResult>
    </ListPolicyVersionsResponse>
  

ListUsers

List all users.

POST parameters

ParameterDescription
ActionMust be set to ListUsers
MarkerPagination support. Unused.
MaxItemsPagination support. Unused.
PathPrefixUser filtering. Not supported yet.
VersionMust be set to 2010-05-08

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: [...]
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=ListUsers
    &Version=2010-05-08
  

Example response


    <ListUsersResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
        <ResponseMetadata>
            <RequestId>mujpkfxe7slp</RequestId>
        </ResponseMetadata>
        <ListUsersResult>
            <Users>
                <member>
                    <UserId>100000000042</UserId>
                    <Path>/</Path>
                    <UserName>testuser@example.com</UserName>
                    <Arn>arn:aws:iam::000000000000:user/testuser@example.com</Arn>
                    <CreateDate>2019-03-25T10:56:28.523Z</CreateDate>
                    <PasswordLastUsed>2019-03-25T10:56:28.523Z</PasswordLastUsed>
                </member>
                <member>
                    <UserId>100000000024</UserId>
                    <Path></Path>
                    <UserName>example@example.com</UserName>
                    <Arn>arn:aws:iam::000000000000:user/example@example.com</Arn>
                    <CreateDate>2019-03-25T10:56:28.523Z</CreateDate>
                    <PasswordLastUsed>2019-03-25T10:56:28.523Z</PasswordLastUsed>
                </member>
            </Users>
            <IsTruncated>false</IsTruncated>
        </ListUsersResult>
    </ListUsersResponse>







SetDefaultPolicyVersion

Set the specified version of a policy as the default (active) version.

Note that this changes the currently active version for all attached entities.

POST parameters

ParameterDescription
ActionMust be set to SetDefaultPolicyVersion
PolicyArnARN of the policy. example: arn:aws:iam::123456789012:policy/policy-name
VersionIdVersion of the policy that you want as default
VersionMust be set to 2010-05-08

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: 20190325T103156Z
    Authorization: [...]
    Content-Length: [...]

    Action=SetDefaultPolicyVersion
    &PolicyArn=arn:aws:iam::123456789012:policy/policy-name
    &VersionId=v42
    &Version=2010-05-08
  

Example response


    <SetDefaultPolicyResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
        <ResponseMetadata>
            <RequestId>42bgut3b75zt</RequestId>
        </ResponseMetadata>
    </SetDefaultPolicyResponse>






UpdateLoginProfile

Changes the password for the specified IAM user. For the current user use the "ChangePassword" API instead

POST parameters

ParameterDescription
ActionMust be set to UpdateLoginProfile
PasswordNew password. Needs uppercase, lowercase, digits and at least 10 total characters
PasswordResetRequiredTrue/false
UserNameUsername to reset the password to
VersionMust be set to 2010-05-08

Example request

Newlines added for clarity.


    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: 20190325T103156Z
    Authorization: [...]
    Content-Length: [...]

    Action=UpdateLoginProfile
    &Password=Password22
    &PasswordResetRequired=false
    &UserName=testuser@example.com
    &Version=2010-05-08
  

Example response

  
    <UpdateLoginProfileResponse xmlns="https://iam.amazonaws.com/doc/2010-05-08/">
        <ResponseMetadata>
            <RequestId>27bgut3b75zt</RequestId>
        </ResponseMetadata>
    </UpdateLoginProfileResponse>
  

RSGetUserInfo

Retrieves information about a list of users. If no user is specified, information about the current user is returned. Only Root or Admin users can retrieve information about other users.

POST parameters

ParameterDescription
ActionMust be set to RSGetUserInfo
VersionMust be set to 2010-05-08
UserList.$numberUsername whose information should be retrieved

Response

The response is a json document containing, for each user:

  • Id: the user id
  • Name: username (coincides with the user email)
  • PwdMustChange: password validity status
  • Email
  • Firstname
  • Lastname
  • Type: role (admin, root, or user)
  • CreatedOn: time the user was created
  • LastAccess: time of last access
  • Path: path specified when the user was created
  • Root: root account this user belongs to

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: 20190325T103156Z
    Authorization: [...]
    Content-Length: [...]

    Action=RSGetUserInfo&
    UserList.1=firstuser%40example.com&
    UserList.2=seconduser%40example.com&
    UserList.3=nonexistent&
    Version=2010-05-08
  

Example response

  
    [
      {
        "Id": "100000000780",
        "Name": "firstuser@example.com",
        "PwdMustChange": true,
        "Email": "firstuser@example.com",
        "Firstname": "First",
        "Lastname": "User",
        "Type": "admin",
        "CreatedOn": "2019-05-02T06:26:06.818Z",
        "LastAccess": "0001-01-01T00:00:00Z",
        "Path": "",
        "Root": "example",
        "AuthMethod": "password"
      },
      {
        "Id": "100000000781",
        "Name": "seconduser@example.com",
        "PwdMustChange": true,
        "Email": "seconduser@example.com",
        "Firstname": "First",
        "Lastname": "User",
        "Type": "user",
        "CreatedOn": "2019-05-02T06:26:06.859Z",
        "LastAccess": "0001-01-01T00:00:00Z",
        "Path": "",
        "Root": "example",
        "AuthMethod": "federated"
      }
    ]
  

RSSetUserInfo

Sets information for a given user.

POST parameters

ParameterDescription
ActionMust be set to RSSetUserInfo
VersionMust be set to 2010-05-08
NameUser whose information should be set
FirstnameFirst name to set
LastnameLast name to set
TypeType of user (rootadminuser)

Response

Returns a status code reflecting the outcome of the operation.

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: 20190325T103156Z
    Authorization: [...]
    Content-Length: [...]

    Action=RSSetUserInfo&
    Version=2010-05-08&
    Name=firstuser@example.com&
    Firstname=John&
    Lastname=Smith&
    Type=user
  

RSGetPasswordResetToken (RSGetToken)

Returns the requested password reset token for a given user. Root and Admin users can obtain reset tokens for other users; in this case, the old password is immediately invalidated. Generated tokens are valid for 6 hours.

POST parameters

ParameterDescription
ActionMust be set to RSGetToken
VersionMust be set to 2010-05-08
TypeMust be set to pwd_reset
UserNameUser whose password reset token should be obtained (defaults to the current user)

Response

Returns the requested password reset token in a JSON object.

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: 20190325T103156Z
    Authorization: [...]
    Content-Length: [...]

    Action=RSGetToken&
    Version=2010-05-08&
    Type=pwd_reset&
    UserName=firstuser%40example.com
  

Example response

  
    {
      "Token": "AAAAAAAAAAAAAFMCAAAAAAAAAAAAAAAATMYFBVC2V3PJH3MDVOPV62XKJYRP7K2AUE6LCEV45ZQK4IA776W4F6A2OY2XYXJCHMJ5U4MJ2NXGQTK2XVBWVHQG43A3CC2PPX5NSKI="
    }
  

RSResetPassword

Resets a user's password using a password reset token. Note this call is not authenticated.

POST parameters

ParameterDescription
ActionMust be set to RSGetToken
VersionMust be set to 2010-05-08
TokenPassword reset token
NewPasswordNew password to set

Response

Returns a status code reflecting the outcome of the operation.

Example request

Newlines added for clarity.

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: [...]

    Action=RSResetPassword&
    Version=2010-05-08&
    Token=output.Token&
    NewPassword=Password24
  

RSPrepareTFA

Prepares a 2FA secret for current user. After obtaining the secret, user can enable 2FA via RSEnableTFA API. The secret expires after 30 minutes.

POST parameters

ParameterDescription
ActionMust be set to RSPrepareTFA
VersionMust be set to 2010-05-08

Response

Returns a secret key for generating time-based one-time passwords and a QR code image containing OTP URI with that secret.

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: [...]
    Authorization: [...]
    Content-Length: [...]

    Action=RSPrepareTFA&
    Version=2010-05-08
  

Example response

  
    {
      "secret": "RCULN35A63IMSO5UMW6FSUJIOTUOCDE7...",
      "qrCodeUrl": "data:image/png;base64,iVBORw0KGo..."
    }
  

RSEnableTFA

Verifies the received OTP and enables 2FA for current user.

ParameterDescription
ActionMust be set to RSEnableTFA
VersionMust be set to 2010-05-08
OTP6-digit OTP derived from the secret from RSPrepareTFA

Response

Returns 10 recovery codes that can be used instead of OTP in case the user loses their 2FA device.

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: [...]
    Authorization: [...]
    Content-Length: [...]

    Action=RSEnableTFA&
    Version=2010-05-08&
    OTP=880631
  

Example response

  
    {
      "recoveryCodes": [
        "52895ace", 
        "f20f43ef", 
        "f1ebaf4d", 
        ...
      ]
    }
  

RSDisableTFA

Disables 2FA for current user.

ParameterDescription
ActionMust be set to RSDisableTFA
VersionMust be set to 2010-05-08

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    X-Amz-Content-Sha256: [...]
    X-Amz-Date: [...]
    Authorization: [...]
    Content-Length: [...]

    Action=RSDisableTFA&
    Version=2010-05-08
  

RSCreateCustomer

Create a new customer under the current Reseller. This action should be performed using a Reseller account.

ParameterDescription
CustomerNameThe name of the new customer (is enforced lowercase by the backend)
CustomerEmailThe email of the new customer
AssumeRoleControlSpecify who can control "AssumeRole" option for this customer: {"reseller", "customer", ""}
 "reseller" => only the reseller can control it
 "customer" => only the customer can decide if want to be managed or not
 "" => if not set, "AssumeRole" is disabled
ReplicationEnforcementSpecify if the customer can choose the replica location
RegionsIs a list containing the available Regions for the given customer
RestrictServiceAccessOptional; if true, customer will not have access to any services initially. Services can be enabled through iam:RSSetCustomerServiceAccessLevel action

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: 182
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=RSCreateCustomer&
    Version=2010-05-08&
    Name=NewCorp&
    Email=admin%40newcorp.com&
    Password=Password22&
    AssumeRoleControl=customer&
    ReplicationEnforcement=false&
    ReplicationPolicy=%7B%7D
  

Example response

  
    {
      "Ok": true,
      "Root": "lyve:newcorp",
      "RootID": "100000000288"
    }
  

RSModifyCustomer

Modify an existing customer properties.

ParameterDescription
CustomerNameThe name of the new customer
AssumeRoleEnabledSet if the AssumeRole is enabled or not
StatusSet the status for the specified customer: "enabled", "disabled", "deleted"
ReplicationEnforcementSpecify if the customer can choose the replica location
RegionsIs a list containing the available Regions for the given customer

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: 133
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=RSModifyCustomer&
    Version=2010-05-08&
    CustomerName=newcorp&
    ReplicationEnforcement=false&
    ReplicationPolicy=null&
    Status=disabled
  

Example response

  
    HTTP/1.1 200 OK
    Access-Control-Allow-Origin: *
    Access-Control-Expose-Headers: Etag,X-Lyve-Size,X-Lyve-Replication-Status
    Date: Mon, 14 Oct 2019 09:17:58 GMT
    Content-Length: 0
  

RSListCustomer

Return a list of all Customers. Only a reseller account can perform this request.

Example request

  
    POST /?Action=RSListCustomer&Version=2010-05-08
    Host: iam.example.lyve.seagate.com
  

Example response

  
    [
      {
        "Name":"newcorp",
        "RootID":"100000000288",
        "Active":false,
        "CreatedOn":"2019-10-14T08:28:10.029Z",
        "SuspendedAt":"2019-10-14T09:17:58.647Z",
        "AssumeRoleControl":"customer",
        "AssumeRoleEnabled":false,
        "Regions":["DCA02", "SJC03"],
        "ReplicationEnforcement":false
      },
    ]
  

RSCustomerDetails

Return details about a specific customer. Only a reseller account can perform this request.

Example request

  
    POST /?Action=RSCustomerDetails&Version=2010-05-08&CustomerName=newcorp
    Host: iam.example.lyve.seagate.com
  

Example response

  
    {
      "Email":"admin@newcorp.com",
      "LastAccess":"2019-10-12T13:17:14.760Z",
      "AssumeRoleControl":"customer",
      "AssumeRoleEnabled":true,
      "Active":true,
      "NumBuckets":3,
      "NumFiles":12,
      "NumUsers":2,
      "NumAdminUsers":0,
      "NumAdminRoots":2,
      "UsedSpace":741987
    }
  

RSAvailableRegions

Return a sorted list of regions available to the customer making the request and the value of the ReplicationEnforcement setting.

If ReplicationEnforcement is set to true, the customer is not able to create buckets with a different replication policy.

When called by a reseller, the Customer parameter allows retrieving the replication policy of a specific customer.

Example request

  
    POST /?Action=RSAvailableRegions&Version=2010-05-08&Customer=newcorp
    Host: iam.example.lyve.seagate.com
  

Example response

  
    {
      "Regions": ["SJC03", "DCA02"],
      "ReplicationEnforcement": true,
    }
  

RSListBillingData

Serves per-day statistics and billing data. The response consists of:

  • Stats: per-datacenter transfer statistics
  • UsedSpace: used and ghost space, used for billing.
  • ObjectCount: total number of total objects

Entries are in reverse-chronological order.

POST parameters

ParameterDescription
ActionMust be set to RSListBillingData
VersionMust be set to 2010-05-08
FromISO-8601-formatted UTC date of the first requested day
TillISO-8601-formatted UTC date of the last requested day

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]

    Action=RSListBillingData&
    Version=2010-05-08&
    From=2020-03-04T00%3A00%3A00.000Z&
    Till=2020-04-04T00%3A00%3A00.000Z
  

Example response

  
    {
      "Stats": {
        "DCA02": [
          {
            "Date": "2020-04-03T00:00:00Z",
            "UploadBytes": 28398312,
            "DownloadBytes": 56709864,
            "DeleteBytes": 28398312
          },
          // ...
        ],
        // ...
      },
      "UsedSpace": [
        {
          "Date": "2020-04-03T00:00:00Z",
          "UsedSpace": 6485663588183,
          "GhostSpace": 402901552935
        },
        // ...
      ],
      "ObjectCount": [
        {
          "Date": "2020-04-03T00:00:00Z",
          "ObjectCount": 18499
        },
        // ...
      ]
    }
  

RSLiveBilling

Serves recent billing metrics for the last hour. Entries for the last two minutes are omitted in order to ensure the returned data is complete.

The API returns stats aggregated by one-minute windows, ordered from the most recent to the oldest. In case there is no activity in a time window, the corresponding entry is omitted.

POST parameters

ParameterDescription
ActionMust be set to RSLiveBilling
VersionMust be set to 2010-05-08

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]

    Action=RSLiveBilling&
    Version=2010-05-08
  

Example response

  
    [
      {
        "date": "2020-04-23T12:35:00Z",
        "uploadedBytes": 24623534,
        "uploadedObjects": 3,
        "deletedBytes": 0,
        "deletedObjects": 0
      },
      {
        "date": "2020-04-23T12:34:00Z",
        "uploadedBytes": 24623534,
        "uploadedObjects": 3,
        "deletedBytes": 0,
        "deletedObjects": 0
      },
      {
        "date": "2020-04-23T12:29:00Z",
        "uploadedBytes": 2786761,
        "uploadedObjects": 12,
        "deletedBytes": 0,
        "deletedObjects": 0
      }
    ]
  

RSWhitelistAddRule

Add a new whitelist rule to the current list of whitelist subnets.

PropertyValue
Permission requiredADMIN
ServiceIAM
UrlPath/api/whitelist/RSWhitelistAddRule
MethodPUT
Content-Typejson

Request body

  
    {
      "root": <root_name>, // mandatory
      "subNet": <subnet>, // mandatory
      "regions": ["DCA02", "SCJ03", "DEN02", "LON01"], // optional (if empty apply to all regions)
      "notes": <some notes for the reseller>, // optional
      "ttl": <time to live in days after the approval> // optional
    }
  

Response

  
    HTTP/1.1 200 OK
    Content-Type: application/json
    Date: Mon, 27 Apr 2020 14:16:59 GMT
    Content-Length: 109

    {"ok":true,"ruleId":"c205e1b6-8891-11ea-968c-14cc2006610b","insertedAt":"2020-04-27T16:16:59.50222599+02:00"}
  

RSWhitelistDeleteRule

Remove a rule from the current subnet whitelist.

PropertyValue
Permission requiredRESELLER if the Rule is Active (was approved), ADMIN or RESELLER if the rule is still pending
ServiceIAM
UrlPath/api/whitelist/RSWhitelistDeleteRule
MethodDELETE
Content-Typejson

Request body

  
    {
      "root": <root_name>, // mandatory
      "ruleId": <rule identity number> // mandatory
    }
  

Response

Simple http response + json body { "ok": true/false, "errorDesc": "optional error description" }

RSWhitelistApproveRule

Approve a rule in Pending state.

PropertyValue
Permission requiredRESELLER
ServiceIAM
UrlPath/api/whitelist/RSWhitelistApproveRule
MethodPOST
Content-Typejson

Request body

  
    {
      "root": <root_name>, // mandatory
      "ruleId": <rule identity number>, // mandatory
      "notes": <some notes to report> // optional
    }
  

Response

  
    {
      "ok": <true,false>,
      "errorDesc": "" // optional,
      "ruleId": <rule identity number>,
      "status": <current_status>,
      "updatedAt": <update ts>
    }
  

RSWhitelistRejectRule

Reject a rule in Pending state.

PropertyValue
Permission requiredRESELLER
ServiceIAM
UrlPath/api/whitelist/RSWhitelistRejectRule
MethodPOST
Content-Typejson

Request body

  
    {
      "root": <root_name>, // mandatory
      "ruleId": <rule identity number>, // mandatory
      "notes": <some notes to report> // optional
    }
  

Response

  
    {
      "ok": <true,false>,
      "errorDesc": "" // optional,
      "ruleId": <rule identity number>,
      "status": <current_status>,
      "updatedAt": <update ts>
    }
  

RSWhitelistListRules

List all rules (subnets).

PropertyValue
Permission requiredRESELLER
ServiceIAM
UrlPath/api/whitelist/RSWhitelistListRules
MethodGET

Get Parameters

ParamDesc
rootroot name
offset0 (used for pagination, not yet implemented)
limit0 (used for pagination, not yet implemented)

Responses

  
    {
      "ok": <true,false>,
      "partial": <true,false> // if true means that only some rules are returned,
      "rules": [
        {
          "ruleId": <rule identifier>, // always present
          "insertedAt": <timestamp>, // always present
          "updatedAt": <timestamp>, // always present
          "subNet": <subnet>, // always present
          "status": <Active,Pending,Rejected,Suspended>, // always present
          "regions": ["DCA02", "SCJ03", "DEN02", "LON01"], // optional (if empty apply to all regions)
          "notes": <rule notes> // optional
        }
      ],
      "errorDesc": "optional error description"
    }
  

RSWhitelistStats

Upcoming.

RSSetCustomerServiceAccessLevel

Configures a service for a customer with RestrictServiceAccess enabled.

PropertyValue
CustomerNameName of the customer to manage
ServiceName of the service to manage, must be one of:
 spacetransporterinsightsprotect
Enabledtrue / false to enable / disable the service
ExpirationDateThis setting has no effect if Enabled is false
 If set, the service will be available until the specified date
 If omitted, the service will be available indefinitely

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    Content-Length: 86
    Content-Type: application/x-www-form-urlencoded
    Authorization: [...]
    X-Amz-Date: [...]

    Action=RSSetCustomerServiceAccessLevel&
    Service=transporter&
    AccessLevel=enabled
  

RSCreateSAMLConnection

Create SAML connection for Federated Login (SSO).

POST parameters

ParameterDescription
ActionMust be set to RSCreateSAMLConnection
VersionMust be set to 2010-05-08
MetadataXMLXML file

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: [...]

    Action=RSCreateSAMLConnection&
    Version=2010-05-08&
    MetadataXML=xml
  

Example response

  
    {
      "Success": "true",
      "ProviderUrl": "https://lyvespace-dev.us.auth0.com/login/callback?connection=resellerName-account-saml",
      "EntityId": "urn:lyvecloud:resellerName-account-saml",
      "Expiry": "05/07/2034",
      "Provider": "resellerName-account-saml"
    }
  

RSGetSAMLConnection

Get SAML connection for Federated Login (SSO).

POST parameters

ParameterDescription
ActionMust be set to RSGetSAMLConnection
VersionMust be set to 2010-05-08

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: [...]

    Action=RSGetSAMLConnection&
    Version=2010-05-08&
  

Example response

  
    {
      "ProviderUrl": "https://lyvespace-dev.us.auth0.com/login/callback?connection=resellerName-account-saml",
      "EntityId": "urn:lyvecloud:resellerName-account-saml",
      "Expiry": "05/07/2034",
      "Provider": "resellerName-account-saml"
    }
  

RSUpdateSAMLConnection

Update SAML connection for Federated Login (SSO).

POST parameters

ParameterDescription
ActionMust be set to RSUpdateSAMLConnection
VersionMust be set to 2010-05-08
MetadataXMLXML file

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: [...]

    Action=RSUpdateSAMLConnection&
    Version=2010-05-08&
    MetadataXML=xml
  

Example response

  
    {
      "Success": "true",
      "ProviderUrl": "https://lyvespace-dev.us.auth0.com/login/callback?connection=resellerName-account-saml",
      "EntityId": "urn:lyvecloud:resellerName-account-saml",
      "Expiry": "05/07/2034",
      "Provider": "resellerName-account-saml"
    }
  

RSDeleteSAMLConnection

Delete SAML connection for Federated Login (SSO).

POST parameters

ParameterDescription
ActionMust be set to RSDeleteSAMLConnection
VersionMust be set to 2010-05-08

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: [...]

    Action=RSDeleteSAMLConnection&
    Version=2010-05-08
  

Example response

  
    {
      "Success": "true"
    }
  

RSSetUserAuthMethod

Set user AuthMethod for login.

POST parameters

ParameterDescription
ActionMust be set to RSSetUserAuthMethod
VersionMust be set to 2010-05-08
NameUserName
AuthMethodMust be set to federated/password

Example request

  
    POST / HTTP/1.1
    Host: iam.example.lyve.seagate.com
    User-Agent: [...]
    Content-Type: application/x-www-form-urlencoded; charset=utf-8
    Content-Length: [...]

    Action=RSSetUserAuthMethod&
    Version=2010-05-08&
    Name=UserName&
    AuthMethod=federated