Skip to content

Commit

Permalink
IAM credetials secrets with S2S authorization
Browse files Browse the repository at this point in the history
Signed-off-by: Haim <haims@il.ibm.com>
  • Loading branch information
haimsch committed Sep 17, 2024
1 parent cd13dd8 commit 24285e8
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 7 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
},
"dependencies": {
"extend": "^3.0.2",
"ibm-cloud-sdk-core": "^5.0.0"
"ibm-cloud-sdk-core": "^5.0.2"
},
"devDependencies": {
"@ibm-cloud/sdk-test-utilities": "^1.0.0",
Expand Down
30 changes: 28 additions & 2 deletions secrets-manager/v2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

/**
* IBM OpenAPI SDK Code Generator Version: 3.94.1-71478489-20240820-161623
* IBM OpenAPI SDK Code Generator Version: 3.95.0-d0e386be-20240906-183310
*/

/* eslint-disable max-classes-per-file */
Expand Down Expand Up @@ -4161,6 +4161,8 @@ namespace SecretsManagerV2 {
* [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-configure-iam-engine).
*/
api_key?: string;
/** This parameter indicates whether the API key configuration is disabled. */
disabled: boolean;
}
export namespace IAMCredentialsConfiguration {
export namespace Constants {
Expand Down Expand Up @@ -4246,7 +4248,13 @@ namespace SecretsManagerV2 {
* information, see the
* [docs](https://cloud.ibm.com/docs/secrets-manager?topic=secrets-manager-configure-iam-engine).
*/
api_key: string;
api_key?: string;
/** This parameter indicates whether the API key configuration is disabled.
*
* If it is set to `disabled`, the IAM credentials engine doesn't use the configured API key for credentials
* management.
*/
disabled?: boolean;
}

/**
Expand All @@ -4266,6 +4274,12 @@ namespace SecretsManagerV2 {
config_type: IAMCredentialsConfigurationPrototype.Constants.ConfigType | string;
/** The API key that is used to set the iam_credentials engine. */
api_key: string;
/** This parameter indicates whether the API key configuration is disabled.
*
* If it is set to `true`, the IAM credentials engine doesn't use the configured API key for credentials
* management.
*/
disabled?: boolean;
}
export namespace IAMCredentialsConfigurationPrototype {
export namespace Constants {
Expand Down Expand Up @@ -4361,6 +4375,10 @@ namespace SecretsManagerV2 {
* include the `access_groups` parameter.
*/
service_id?: string;
/** The ID of the account in which the IAM credentials are created. Use this field only if the target account is
* not the same as the account of the Secrets Manager instance. Otherwise, the field can be omitted.
*/
account_id?: string;
/** Indicates whether an `iam_credentials` secret was created with a static service ID.
*
* If it is set to `true`, the service ID for the secret was provided by the user at secret creation. If it is set
Expand Down Expand Up @@ -4499,6 +4517,10 @@ namespace SecretsManagerV2 {
* include the `access_groups` parameter.
*/
service_id?: string;
/** The ID of the account in which the IAM credentials are created. Use this field only if the target account is
* not the same as the account of the Secrets Manager instance. Otherwise, the field can be omitted.
*/
account_id?: string;
/** Indicates whether an `iam_credentials` secret was created with a static service ID.
*
* If it is set to `true`, the service ID for the secret was provided by the user at secret creation. If it is set
Expand Down Expand Up @@ -4642,6 +4664,10 @@ namespace SecretsManagerV2 {
* include the `access_groups` parameter.
*/
service_id?: string;
/** The ID of the account in which the IAM credentials are created. Use this field only if the target account is
* not the same as the account of the Secrets Manager instance. Otherwise, the field can be omitted.
*/
account_id?: string;
/** (IAM credentials) This parameter indicates whether to reuse the service ID and API key for future read
* operations.
*
Expand Down

0 comments on commit 24285e8

Please sign in to comment.