Skip to content

Latest commit

 

History

History
36 lines (18 loc) · 1.82 KB

HTTPCredentials.md

File metadata and controls

36 lines (18 loc) · 1.82 KB

Onepanel.HTTPCredentials

Properties

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 When registering storage with feed of LUMA DB set to`auto` and with `oauth2` external IdP, this field must contain a valid Onedata access token of the user on whose behalf the HTTP storage will be accessed by all users with access to any space supported by this storage. [optional]

Enum: TypeEnum

  • http (value: "http")

Enum: CredentialsTypeEnum

  • none (value: "none")

  • basic (value: "basic")

  • token (value: "token")

  • oauth2 (value: "oauth2")