Kinetica   C#   API  Version 7.2.3.0
CreateCredential.cs
Go to the documentation of this file.
1 /*
2  * This file was autogenerated by the Kinetica schema processor.
3  *
4  * DO NOT EDIT DIRECTLY.
5  */
6 
7 using System.Collections.Generic;
8 
9 namespace kinetica
10 {
16  public class CreateCredentialRequest : KineticaData
17  {
22  public struct Type
23  {
24  public const string AWS_ACCESS_KEY = "aws_access_key";
25  public const string AWS_IAM_ROLE = "aws_iam_role";
26  public const string AZURE_AD = "azure_ad";
27  public const string AZURE_OAUTH = "azure_oauth";
28  public const string AZURE_SAS = "azure_sas";
29  public const string AZURE_STORAGE_KEY = "azure_storage_key";
30  public const string CONFLUENT = "confluent";
31  public const string DOCKER = "docker";
32  public const string GCS_SERVICE_ACCOUNT_ID = "gcs_service_account_id";
33  public const string GCS_SERVICE_ACCOUNT_KEYS = "gcs_service_account_keys";
34  public const string HDFS = "hdfs";
35  public const string JDBC = "jdbc";
36  public const string KAFKA = "kafka";
37  public const string NVIDIA_API_KEY = "nvidia_api_key";
38  public const string OPENAI_API_KEY = "openai_api_key";
39  public const string REST = "rest";
40  } // end struct Type
41 
46  public string credential_name { get; set; }
47 
110  public string type { get; set; }
111 
113  public string identity { get; set; }
114 
116  public string secret { get; set; }
117 
121  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
122 
126 
203  string type,
204  string identity,
205  string secret,
206  IDictionary<string, string> options = null)
207  {
208  this.credential_name = credential_name ?? "";
209  this.type = type ?? "";
210  this.identity = identity ?? "";
211  this.secret = secret ?? "";
212  this.options = options ?? new Dictionary<string, string>();
213  } // end constructor
214  } // end class CreateCredentialRequest
215 
219  public class CreateCredentialResponse : KineticaData
220  {
224  public string credential_name { get; set; }
225 
227  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
228  } // end class CreateCredentialResponse
229 } // end namespace kinetica
IDictionary< string, string > options
Optional parameters.
string secret
Password of the credential to be created.
string credential_name
Value of credential_name.
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.
string credential_name
Name of the credential to be created.