7 using System.Collections.Generic;
16 public class CreateCredentialRequest : KineticaData
26 public const string AZURE_AD =
"azure_ad";
28 public const string AZURE_SAS =
"azure_sas";
30 public const string CONFLUENT =
"confluent";
31 public const string DOCKER =
"docker";
34 public const string HDFS =
"hdfs";
35 public const string JDBC =
"jdbc";
36 public const string KAFKA =
"kafka";
106 public string type {
get;
set; }
109 public string identity {
get;
set; }
112 public string secret {
get;
set; }
117 public IDictionary<string, string>
options {
get;
set; } =
new Dictionary<string, string>();
199 IDictionary<string, string>
options =
null)
202 this.type =
type ??
"";
204 this.secret =
secret ??
"";
212 public class CreateCredentialResponse : KineticaData
220 public IDictionary<string, string>
info {
get;
set; } =
new Dictionary<string, string>();
const string AZURE_STORAGE_KEY
IDictionary< string, string > options
Optional parameters.
string secret
Password of the credential to be created.
string credential_name
Value of credential_name.
const string NVIDIA_API_KEY
const string GCS_SERVICE_ACCOUNT_ID
CreateCredentialRequest(string credential_name, string type, string identity, string secret, IDictionary< string, string > options=null)
Constructs a CreateCredentialRequest object with the specified parameters.
string type
Type of the credential to be created.
CreateCredentialRequest()
Constructs a CreateCredentialRequest object with default parameters.
string identity
User of the credential to be created.
IDictionary< string, string > info
Additional information.
const string AWS_IAM_ROLE
string credential_name
Name of the credential to be created.
const string OPENAI_API_KEY
const string GCS_SERVICE_ACCOUNT_KEYS
const string AWS_ACCESS_KEY