Skip to content
View as Markdown
View as Markdown

@salesforce/b2c-tooling-sdk / operations/bm-users / createBmUserAccessKey

Function: createBmUserAccessKey()

createBmUserAccessKey(instance, login, scope): Promise<{ }>

Defined in: packages/b2c-tooling-sdk/src/operations/bm-users/users.ts:332

Creates a single access key for an externally-managed user (replaces any existing key for the same scope).

The returned object includes the newly-generated access_key value — this is the only time it is returned, so callers should record it.

Parameters

instance

B2CInstance

B2C instance

login

string

User login

scope

string

Access key scope

Returns

Promise<{ }>

Access key details (including the secret access_key value)

Released under the Apache-2.0 License.