Skip to content

feat: add optional account_id support to CP4D authenticator - #244

Open
jacek-midura wants to merge 4 commits into
IBM:mainfrom
jacek-midura:add-account-id
Open

jacek-midura wants to merge 4 commits into
IBM:mainfrom
jacek-midura:add-account-id

Conversation

@jacek-midura

@jacek-midura jacek-midura commented Sep 24, 2026 •

Copy link
Copy Markdown
Member

issue: https://github.ibm.com/arf/planning-sdk-squad/issues/4470

Add an optional account_id field to CP4DTokenManager and CloudPakForDataAuthenticator. When set, the value is included in the account_id field of the JSON body sent to the /v1/authorize endpoint.

The field can also be supplied via external configuration using the CP4D_ACCOUNT_ID property key (e.g. in ibm-credentials.env or as an environment variable).

Add an optional `account_id` field to `CP4DTokenManager` and
`CloudPakForDataAuthenticator`. When set, the value is included in the
`account_id` field of the JSON body sent to the `/v1/authorize` endpoint.

The field can also be supplied via external configuration using the
`CP4D_ACCOUNT_ID` property key (e.g. in `ibm-credentials.env` or as an
environment variable).

Signed-off-by: Jacek Midura <jacek.midura@pl.ibm.com>
@CLAassistant

CLAassistant commented Sep 24, 2026 •

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

Signed-off-by: Jacek Midura <jacek.midura@pl.ibm.com>
Signed-off-by: Jacek Midura <jacek.midura@pl.ibm.com>
Signed-off-by: Jacek Midura <jacek.midura@pl.ibm.com>
@pyrooka
pyrooka self-requested a review September 28, 2026 14:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants