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 {
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  } // end struct Type
40 
45  public string credential_name { get; set; }
46 
106  public string type { get; set; }
107 
109  public string identity { get; set; }
110 
112  public string secret { get; set; }
113 
117  public IDictionary<string, string> options { get; set; } = new Dictionary<string, string>();
118 
122 
196  string type,
197  string identity,
198  string secret,
199  IDictionary<string, string> options = null)
200  {
201  this.credential_name = credential_name ?? "";
202  this.type = type ?? "";
203  this.identity = identity ?? "";
204  this.secret = secret ?? "";
205  this.options = options ?? new Dictionary<string, string>();
206  } // end constructor
207  } // end class CreateCredentialRequest
208 
213  {
217  public string credential_name { get; set; }
218 
220  public IDictionary<string, string> info { get; set; } = new Dictionary<string, string>();
221  } // end class CreateCredentialResponse
222 } // end namespace kinetica
string secret
Password of the credential to be created.
A set of string constants for the parameter type.
string identity
User of the credential to be created.
A set of results returned by Kinetica.createCredential.
string credential_name
Value of credential_name.
IDictionary< string, string > options
Optional parameters.
CreateCredentialRequest(string credential_name, string type, string identity, string secret, IDictionary< string, string > options=null)
Constructs a CreateCredentialRequest object with the specified parameters.
A set of parameters for Kinetica.createCredential.
CreateCredentialRequest()
Constructs a CreateCredentialRequest object with default parameters.
string credential_name
Name of the credential to be created.
KineticaData - class to help with Avro Encoding for Kinetica
Definition: KineticaData.cs:14
string type
Type of the credential to be created.
IDictionary< string, string > info
Additional information.