Skip to content

Latest commit

 

History

History
34 lines (26 loc) · 3.12 KB

ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.md

File metadata and controls

34 lines (26 loc) · 3.12 KB

ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails

Properties

Name Type Description Notes
slug str The new slug of the privilege to update. [optional]
permissions List[ApiV1WorkspaceProjectSlugRolesPostRequestPermissionsInner] @deprecated - use privilegePermission The permission object for the privilege. - Read secrets ``` { "permissions": [{"action": "read", "subject": "secrets"]} ``` - Read and Write secrets ``` { "permissions": [{"action": "read", "subject": "secrets"], {"action": "write", "subject": "secrets"]} ``` - Read secrets scoped to an environment and secret path ``` - { "permissions": [{"action": "read", "subject": "secrets", "conditions": { "environment": "dev", "secretPath": { "$glob": "/" } }}] } ``` [optional]
privilege_permission ApiV1AdditionalPrivilegeIdentityPermanentPostRequestPrivilegePermission [optional]
is_temporary bool Whether the privilege is temporary. [optional]
temporary_mode str Type of temporary access given. Types: relative [optional]
temporary_range str TTL for the temporay time. Eg: 1m, 1h, 1d [optional]
temporary_access_start_time datetime ISO time for which temporary access should begin. [optional]

Example

from infisicalapi_client.models.api_v1_additional_privilege_identity_patch_request_privilege_details import ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails

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

# convert the object into a dict
api_v1_additional_privilege_identity_patch_request_privilege_details_dict = api_v1_additional_privilege_identity_patch_request_privilege_details_instance.to_dict()
# create an instance of ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails from a dict
api_v1_additional_privilege_identity_patch_request_privilege_details_from_dict = ApiV1AdditionalPrivilegeIdentityPatchRequestPrivilegeDetails.from_dict(api_v1_additional_privilege_identity_patch_request_privilege_details_dict)

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