Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.47 KB

File metadata and controls

33 lines (24 loc) · 1.47 KB

WebhookCredentials

Authentication credentials for a webhook connection.

Properties

Name Type Description Notes
auth_type WebhookAuthTypeEnum
api_key_credentials List[WebhookApiKeyCredential] API key credentials, present when auth_type is API_KEY. [optional]
hmac_credential_1 WebhookHmacCredential Primary HMAC credential, present when auth_type is HMAC. [optional]
hmac_credential_2 WebhookHmacCredential Secondary HMAC credential for rotation, present when auth_type is HMAC. [optional]

Example

from opal_security.models.webhook_credentials import WebhookCredentials

# TODO update the JSON string below
json = "{}"
# create an instance of WebhookCredentials from a JSON string
webhook_credentials_instance = WebhookCredentials.from_json(json)
# print the JSON string representation of the object
print(WebhookCredentials.to_json())

# convert the object into a dict
webhook_credentials_dict = webhook_credentials_instance.to_dict()
# create an instance of WebhookCredentials from a dict
webhook_credentials_from_dict = WebhookCredentials.from_dict(webhook_credentials_dict)

[Back to Model list] [Back to API list] [Back to README]