Create Embed Secret

Version 4.0.24.14

Create an embed secret using the specified information.

The value of the secret field will be set by Looker and returned.

Calls to this endpoint require Embedding to be enabled

Request

POST /embed_config/secrets
Datatype
Description
Request
HTTP Request
body
HTTP Body
Expand HTTP Body definition...
body
embed secret
Expand EmbedSecret definition...
algorithm
string
Signing algorithm to use with this secret. Either `hmac/sha-256`(default) or `hmac/sha-1`
created_at
string
When secret was created
enabled
boolean
Is this secret currently enabled
id
string
Unique Id
secret
string
Secret for use with SSO embedding
user_id
string
Id of user who created this secret
secret_type
string
Field to distinguish between SSO secrets and JWT secrets Valid values are: "SSO", "JWT".

Response

200: embed secret

Datatype
Description
(object)
algorithm
string
Signing algorithm to use with this secret. Either `hmac/sha-256`(default) or `hmac/sha-1`
created_at
string
When secret was created
enabled
boolean
Is this secret currently enabled
id
string
Unique Id
secret
string
Secret for use with SSO embedding
user_id
string
Id of user who created this secret
secret_type
string
Field to distinguish between SSO secrets and JWT secrets Valid values are: "SSO", "JWT".

400: Bad Request

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

404: Not Found

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

409: Resource Already Exists

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link

422: Validation Error

Datatype
Description
(object)
message
string
Error details
Expand ValidationErrorDetail definition...
field
string
Field with error
code
string
Error code
message
string
Error info message
documentation_url
string
Documentation link
documentation_url
string
Documentation link

429: Too Many Requests

Datatype
Description
(object)
message
string
Error details
documentation_url
string
Documentation link