CData Python Connector for Azure Cosmos DB

Build 24.0.9060

TokenType

Denotes the type of token: master or resource.

Possible Values

master, resource

Data Type

string

Default Value

"master"

Remarks

The master key is created during the creation of an account. There are two sets of master keys, the primary key and the secondary key. The administrator of the account can then exercise key rotation using the secondary key. In addition, the account administrator can also regenerate the keys as needed.

Resource tokens are created when users in a database are set up with access permissions for precise access control on a resource, also known as a permission resource. A permission resource contains a hash resource token constructed with the information regarding the resource path and access type a user has access to. The permission resource token is time bound and the validity period can be overridden. When a permission resource is acted upon on (POST, GET, PUT), a new resource token is generated.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 24.0.9060