Skip to content

Latest commit

 

History

History
32 lines (24 loc) · 2.79 KB

ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.md

File metadata and controls

32 lines (24 loc) · 2.79 KB

ApiV1AdditionalPrivilegeIdentityPermanentPostRequest

Properties

Name Type Description Notes
identity_id str The ID of the identity to create.
project_slug str The slug of the project of the identity in.
slug str The slug of the privilege to create. [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]

Example

from infisicalapi_client.models.api_v1_additional_privilege_identity_permanent_post_request import ApiV1AdditionalPrivilegeIdentityPermanentPostRequest

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

# convert the object into a dict
api_v1_additional_privilege_identity_permanent_post_request_dict = api_v1_additional_privilege_identity_permanent_post_request_instance.to_dict()
# create an instance of ApiV1AdditionalPrivilegeIdentityPermanentPostRequest from a dict
api_v1_additional_privilege_identity_permanent_post_request_from_dict = ApiV1AdditionalPrivilegeIdentityPermanentPostRequest.from_dict(api_v1_additional_privilege_identity_permanent_post_request_dict)

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