Resource: DaiAuthenticationKey
A DaiAuthenticationKey is used to authenticate stream requests to the IMA SDK API.
| JSON representation |
|---|
{ "name": string, "status": enum ( |
| Fields | |
|---|---|
name |
Identifier. The resource name of the |
status |
Output only. The status of this DaiAuthenticationKey. DAI authentication keys are created in the Only active keys will be accepted by the IMA SDK API as valid. |
displayName |
Required. The name for this DaiAuthenticationKey. |
keyType |
Optional. The type of this key, which determines how it should be used on stream create requests. |
DaiAuthenticationKeyStatus
Statuses associated with DaiAuthenticationKey objects.
| Enums | |
|---|---|
DAI_AUTHENTICATION_KEY_STATUS_UNSPECIFIED |
Default value. This value is unused. |
ACTIVE |
Indicates that the API key is actively in use and that the IMA SDK API should accept it as a valid key in requests. |
INACTIVE |
Indicates that the API key is no longer is use and that the IMA SDK API should not accept it as a valid key in requests. |
DaiAuthenticationKeyType
Key types associated with DaiAuthenticationKey objects.
| Enums | |
|---|---|
DAI_AUTHENTICATION_KEY_TYPE_UNSPECIFIED |
Default value. This value is unused. |
API |
Indicates that the key is a standard API key and should be used with the api-key SDK parameter when authenticating stream create requests. |
HMAC |
Indicates that the key is an HMAC key and should be used to generate a signature for the stream create request with the auth-token SDK parameter. |
Methods |
|
|---|---|
|
Activates a list of DaiAuthenticationKey objects. |
|
Batch creates DaiAuthenticationKey objects. |
|
Deactivates a list of DaiAuthenticationKey objects. |
|
Batch updates DaiAuthenticationKey objects. |
|
Creates a DaiAuthenticationKey object. |
|
Retrieves a DaiAuthenticationKey object. |
|
Lists DaiAuthenticationKey objects. |
|
Updates a DaiAuthenticationKey object. |