| Name | Type | Description | Notes |
|---|---|---|---|
| type | String | Type of the storage. Must be given explicitly and must match the actual type of subject storage - this redundancy is needed due to limitations of OpenAPI polymorphism. | |
| credentialsType | String | Determines the types of credentials provided in the credentials field. | [optional] [default to 'none'] |
| credentials | String | The credentials to authenticate with the HTTP server. `basic` credentials should be provided in the form `username:password`, for `token` just the token. In case of `oauth2`, this field should contain the username for the HTTP, while the token will be obtained and refreshed automatically in the background. For `none` this field is ignored. | [optional] |
| oauth2IdP | String | In case `oauth2` credential type is selected and Onezone is configured with support for multiple external IdP's, this field must contain the name of the IdP which authenticates requests to the HTTP endpoint. If Onezone has only one external IdP, it will be selected automatically. | [optional] |
| onedataAccessToken | String | An access token of the Onedata user in whose name IdP access tokens will be acquired. Used only with the `oauth2` credentials type, where it is effectively required - Oneprovider verifies it when the storage is created or modified and then spends it to obtain and refresh access tokens of the IdP indicated by `oauth2IdP`. It is never passed to the HTTP server. | [optional] |
http(value:"http")
-
none(value:"none") -
basic(value:"basic") -
token(value:"token") -
oauth2(value:"oauth2")