Version 4.0.26.22 (latest)

### Create an embed secret using the specified information.

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

**NOTE** : Calls to this endpoint require [Embedding](https://docs.cloud.google.com/looker/docs/r/looker-core-feature-embed) to be enabled. Usage of this endpoint is not authorized for Looker Core Standard and Looker Core Enterprise.

## Request

POST /embed_config/secrets Datatype Description Request HTTP Request body HTTP Body Expand HTTP Body definition... body [EmbedSecret](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/EmbedSecret) 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) [EmbedSecret](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/EmbedSecret) 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) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 403: Permission Denied

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 404: Not Found

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 409: Resource Already Exists

Datatype Description (object) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link

### 422: Validation Error

Datatype Description (object) [ValidationError](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationError) message string Error details errors [ValidationErrorDetail](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/ValidationErrorDetail)\[\] 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) [Error](https://docs.cloud.google.com/looker/docs/reference/looker-api/latest/types/Error) message string Error details documentation_url string Documentation link