Configuration for accessing Amazon KeyManagementService service
상속: Amazon.Runtime.ClientConfig
예제 #1
0
 /// <summary>
 /// Create a client for the Amazon KeyManagementService Service with AWSCredentials and an AmazonKeyManagementService Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param>
 /// <returns>An Amazon KeyManagementService client</returns>
 /// <remarks>
 /// </remarks>
 public static IAmazonKeyManagementService CreateAmazonKeyManagementServiceClient(AWSCredentials credentials, AmazonKeyManagementServiceConfig config)
 {
     return new AmazonKeyManagementServiceClient(credentials, config);
 }
 /// <summary>
 /// Constructs AmazonKeyManagementServiceClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonKeyManagementServiceClient Configuration object. 
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="awsSessionToken">AWS Session Token</param>
 /// <param name="clientConfig">The AmazonKeyManagementServiceClient Configuration Object</param>
 public AmazonKeyManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonKeyManagementServiceConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
예제 #3
0
 /// <summary>
 /// Create a client for the Amazon KeyManagementService Service with the specified configuration
 /// </summary>
 /// <param name="awsAccessKey">The AWS Access Key associated with the account</param>
 /// <param name="awsSecretAccessKey">The AWS Secret Access Key associated with the account</param>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc
 /// </param>
 /// <returns>An Amazon KeyManagementService client</returns>
 /// <remarks>
 /// </remarks>
 public static IAmazonKeyManagementService CreateAmazonKeyManagementServiceClient(
     string awsAccessKey,
     string awsSecretAccessKey, AmazonKeyManagementServiceConfig config
     )
 {
     return new AmazonKeyManagementServiceClient(awsAccessKey, awsSecretAccessKey, config);
 }
 /// <summary>
 /// Constructs AmazonKeyManagementServiceClient with AWS Credentials and an
 /// AmazonKeyManagementServiceClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonKeyManagementServiceClient Configuration Object</param>
 public AmazonKeyManagementServiceClient(AWSCredentials credentials, AmazonKeyManagementServiceConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
 /// <summary>
 /// Constructs AmazonKeyManagementServiceClient with the credentials loaded from the application's
 /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
 /// 
 /// Example App.config with credentials set. 
 /// <code>
 /// &lt;?xml version="1.0" encoding="utf-8" ?&gt;
 /// &lt;configuration&gt;
 ///     &lt;appSettings&gt;
 ///         &lt;add key="AWSProfileName" value="AWS Default"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 ///
 /// </summary>
 /// <param name="config">The AmazonKeyManagementServiceClient Configuration Object</param>
 public AmazonKeyManagementServiceClient(AmazonKeyManagementServiceConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config) { }
예제 #6
0
 /// <summary>
 /// Create a client for the Amazon KeyManagementService Service with the credentials loaded from the application's
 /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
 /// 
 /// Example App.config with credentials set. 
 /// <code>
 /// &lt;?xml version="1.0" encoding="utf-8" ?&gt;
 /// &lt;configuration&gt;
 ///     &lt;appSettings&gt;
 ///         &lt;add key="AWSProfileName" value="AWS Default"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 /// </summary>
 /// <param name="config">Configuration options for the service like HTTP Proxy, # of connections, etc</param>
 /// <returns>An Amazon KeyManagementService client</returns>
 public static IAmazonKeyManagementService CreateAmazonKeyManagementServiceClient(AmazonKeyManagementServiceConfig config)
 {
     return new AmazonKeyManagementServiceClient(config);
 }
예제 #7
0
 /// <summary>
 /// Constructs AmazonKeyManagementServiceClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonKeyManagementServiceClient Configuration object.
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="awsSessionToken">AWS Session Token</param>
 /// <param name="clientConfig">The AmazonKeyManagementServiceClient Configuration Object</param>
 public AmazonKeyManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonKeyManagementServiceConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
예제 #8
0
 /// <summary>
 /// Constructs AmazonKeyManagementServiceClient with AWS Credentials and an
 /// AmazonKeyManagementServiceClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonKeyManagementServiceClient Configuration Object</param>
 public AmazonKeyManagementServiceClient(AWSCredentials credentials, AmazonKeyManagementServiceConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }