Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.91 KB

File metadata and controls

40 lines (31 loc) · 1.91 KB

SubKeyWithSecrets

A restricted key with its secrets, returned only when the key is created or rolled. Store them safely: they cannot be read again.

Properties

Name Type Description Notes
id int Unique identifier. [optional]
created datetime Creation date. [optional] [readonly]
version int Row version, for optimistic concurrency. [optional] [readonly]
description str Human-readable label. [optional]
active bool Whether the key can authenticate. [optional]
permissions Permissions [optional]
company_ids List[int] Companies the key can access. Empty means all the companies of the account. [optional]
cors_origins List[str] Browser origins allowed to call the API with this key (CORS). [optional]
previous_key_expires_at datetime When the secrets replaced by the last roll stop working; null when there are none still valid. [optional]
test_key str Sandbox secret. [optional]
live_key str Production secret. [optional]

Example

from invoicetronic_sdk.models.sub_key_with_secrets import SubKeyWithSecrets

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

# convert the object into a dict
sub_key_with_secrets_dict = sub_key_with_secrets_instance.to_dict()
# create an instance of SubKeyWithSecrets from a dict
sub_key_with_secrets_from_dict = SubKeyWithSecrets.from_dict(sub_key_with_secrets_dict)

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