...
Tip |
---|
Examples calling the API defined below with the Unix utility "curl" can be found here |
All Applications
...
title | Security Initialization REST Methods |
---|
Initialize Security Users
...
POST https://host:port/durastore/security
POST https://host:port/duraservice/security
POST https://host:port/duradmin/security
Request Body: XML similar to:
...
<dur:security-users schemaVersion="0.2" xmlns:dur="duracloud.org">
<security-user>
<username>username-0</username>
<password>password-0</password>
<enabled>true</enabled>
<accountNonExpired>true</accountNonExpired>
<credentialsNonExpired>true</credentialsNonExpired>
<accountNonLocked>true</accountNonLocked>
<grantedAuthorities>ROLE_USER</grantedAuthorities>
</security-user>
<security-user>
<username>username-1</username>
<password>password-1</password>
<enabled>false</enabled>
<accountNonExpired>false</accountNonExpired>
<credentialsNonExpired>false</credentialsNonExpired>
<accountNonLocked>false</accountNonLocked>
<grantedAuthorities>ROLE_USER ROLE_ADMIN</grantedAuthorities>
</security-user>
</dur:security-users>
...
DuraStore
Purpose: DuraStore is the application through which DuraCloud manages storage. The DuraStore REST API provides access to storage by mediating the underlying storage provider APIs to allow access to multiple cloud storage options through a single API.
...