⚠️ This documentation pertains to a preview endpoint. This feature is not yet ready for API consumption and may change. For inquiries or feedback, please contact us at Glean.
Create credentials
post/addcredential
API to save a user's credentials. Used for Confluence restricted pages and Tableau per-user auth, for example
SecurityBearerAuth
Request
header Parameters
X-Glean-Auth-Type
string
Auth type being used to access the endpoint (should be non-empty only for global tokens).
X-Scio-Actas
string <email>
Email address of a user on whose behalf the request is intended to be made (should be non-empty only for global tokens).
Request Body schema: application/json
required
Credential content
datasource
string
the datasource the credential applies to
datasourceInstance
string
the datasource instance the credential applies to
metadata
string
any metadata associated with the user credential
token
string
the token part of the credential (password, apiToken etc)
user
string
the user info (email or username for example) for the credential