AivenOrganizationPermissionGrantPrincipalByUserKeyArgs
interface AivenOrganizationPermissionGrantPrincipalByUserKeyArgs {
groupKey?: undefined;
principalId?: undefined;
principalType?: undefined;
userKey: string;
}Permission grant principal reference by user key.
Example
CODE
const principalByUserKey: AivenOrganizationPermissionGrantPrincipalByUserKeyArgs = {
userKey: 'alice@example.com',
};Properties
groupKey: undefined
Group key is not allowed when userKey is used.
principalId: undefined
Direct principal ID is not allowed when userKey is used.
principalType: undefined
Direct principal type is not allowed when userKey is used.
userKey: string
User reference key.