Skip to content

Commit

Permalink
Merge pull request #84 from IBM/prerelease
Browse files Browse the repository at this point in the history
patch: Adding new Service credentials secret type
  • Loading branch information
IdanAdar authored Dec 11, 2023
2 parents 350ef9a + daf7f10 commit 8068906
Show file tree
Hide file tree
Showing 74 changed files with 1,303 additions and 971 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -744,7 +744,7 @@ public static void main(String[] args) throws Exception {
System.out.println("createNotificationsRegistration() result:");
// begin-create_notifications_registration
CreateNotificationsRegistrationOptions createNotificationsRegistrationOptions = new CreateNotificationsRegistrationOptions.Builder()
.eventNotificationsInstanceCrn("crn:v1:staging:public:event-notifications:us-south:a/791f5fb10986423e97aa8512f18b7e65:d959ec5c-276a-43a4-97d6-77e69ac03b1e::")
.eventNotificationsInstanceCrn("crn:v1:bluemix:public:event-notifications:us-south:a/22018f3c34ff4ff193698d15ca316946:578ad1a4-2fd8-4e66-95d5-79a842ba91f8::")
.eventNotificationsSourceName("My Secrets Manager")
.eventNotificationsSourceDescription("Optional description of this source in an Event Notifications instance.")
.build();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
*/

/*
* IBM OpenAPI SDK Code Generator Version: 3.77.0-42417df0-20230811-192318
* IBM OpenAPI SDK Code Generator Version: 3.82.1-2082d402-20231115-195014
*/

package com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,26 @@
public class ArbitrarySecret extends Secret {

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,26 @@
public class ArbitrarySecretMetadata extends SecretMetadata {

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,24 +23,26 @@
public class ArbitrarySecretPrototype extends SecretPrototype {

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,26 @@
public class ArbitrarySecretVersion extends SecretVersion {

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,26 @@
public class ArbitrarySecretVersionMetadata extends SecretVersionMetadata {

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,10 @@ public class Configuration extends GenericModel {
}

/**
* The configuration type.
* The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt,
* public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services,
* private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca,
* private_cert_configuration_template.
*/
public interface ConfigType {
/** public_cert_configuration_ca_lets_encrypt. */
Expand All @@ -66,24 +69,26 @@ public interface ConfigType {
}

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}

/**
Expand Down Expand Up @@ -297,7 +302,10 @@ protected Configuration() { }
/**
* Gets the configType.
*
* The configuration type.
* The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt,
* public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services,
* private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca,
* private_cert_configuration_template.
*
* @return the configType
*/
Expand All @@ -319,8 +327,8 @@ public String getName() {
/**
* Gets the secretType.
*
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*
* @return the secretType
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ public class ConfigurationMetadata extends GenericModel {
}

/**
* The configuration type.
* The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt,
* public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services,
* private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca,
* private_cert_configuration_template.
*/
public interface ConfigType {
/** public_cert_configuration_ca_lets_encrypt. */
Expand All @@ -65,24 +68,26 @@ public interface ConfigType {
}

/**
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*/
public interface SecretType {
/** arbitrary. */
String ARBITRARY = "arbitrary";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** iam_credentials. */
String IAM_CREDENTIALS = "iam_credentials";
/** imported_cert. */
String IMPORTED_CERT = "imported_cert";
/** kv. */
String KV = "kv";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
/** private_cert. */
String PRIVATE_CERT = "private_cert";
/** public_cert. */
String PUBLIC_CERT = "public_cert";
/** service_credentials. */
String SERVICE_CREDENTIALS = "service_credentials";
/** username_password. */
String USERNAME_PASSWORD = "username_password";
}

/**
Expand Down Expand Up @@ -175,7 +180,10 @@ protected ConfigurationMetadata() { }
/**
* Gets the configType.
*
* The configuration type.
* The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt,
* public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services,
* private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca,
* private_cert_configuration_template.
*
* @return the configType
*/
Expand All @@ -197,8 +205,8 @@ public String getName() {
/**
* Gets the secretType.
*
* The secret type. Supported types are arbitrary, certificates (imported, public, and private), IAM credentials,
* key-value, and user credentials.
* The secret type. Supported types are arbitrary, imported_cert, public_cert, private_cert, iam_credentials,
* service_credentials, kv, and username_password.
*
* @return the secretType
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,10 @@ public class ConfigurationPrototype extends GenericModel {
}

/**
* The configuration type.
* The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt,
* public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services,
* private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca,
* private_cert_configuration_template.
*/
public interface ConfigType {
/** public_cert_configuration_ca_lets_encrypt. */
Expand Down Expand Up @@ -244,7 +247,10 @@ protected ConfigurationPrototype() { }
/**
* Gets the configType.
*
* The configuration type.
* The configuration type. Can be one of: iam_credentials_configuration, public_cert_configuration_ca_lets_encrypt,
* public_cert_configuration_dns_classic_infrastructure, public_cert_configuration_dns_cloud_internet_services,
* private_cert_configuration_root_ca, private_cert_configuration_intermediate_ca,
* private_cert_configuration_template.
*
* @return the configType
*/
Expand Down
Loading

0 comments on commit 8068906

Please sign in to comment.