Configuration for accessing Amazon IdentityManagementService service
Inheritance: Amazon.Runtime.ClientConfig
Esempio n. 1
0
 /// <summary>
 /// Create a client for the Amazon IdentityManagementService Service with AWSCredentials and an AmazonIdentityManagementService 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 IdentityManagementService client</returns>
 /// <remarks>
 /// </remarks>
 public static AmazonIdentityManagementService CreateAmazonIdentityManagementServiceClient(AWSCredentials credentials, AmazonIdentityManagementServiceConfig config)
 {
     return new AmazonIdentityManagementServiceClient(credentials, config);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a client for the Amazon IdentityManagement 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="AWSAccessKey" value="********************"/&gt;
 ///         &lt;add key="AWSSecretKey" value="****************************************"/&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 IdentityManagement client</returns>
 public static AmazonIdentityManagementService CreateAmazonIdentityManagementClient(AmazonIdentityManagementServiceConfig config)
 {
     return new AmazonIdentityManagementServiceClient(config);
 }
Esempio n. 3
0
 /// <summary>
 /// Create a client for the Amazon Identity Management 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</param>
 /// <returns>An Amazon Identity Management client</returns>
 public static AmazonIdentityManagementService CreateAmazonIdentityManagementClient(
     string awsAccessKey,
     string awsSecretAccessKey,
     AmazonIdentityManagementServiceConfig config
     )
 {
     return new AmazonIdentityManagementServiceClient(awsAccessKey, awsSecretAccessKey, config);
 }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient with AWS Credentials and an
 /// AmazonIdentityManagementServiceClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonIdentityManagementServiceClient Configuration Object</param>
 public AmazonIdentityManagementServiceClient(AWSCredentials credentials, AmazonIdentityManagementServiceConfig clientConfig)
     : base(credentials, clientConfig)
 {
 }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonIdentityManagementServiceClient 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 AmazonIdentityManagementServiceClient Configuration Object</param>
 public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonIdentityManagementServiceConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
 {
 }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient with AWS Access Key ID, AWS Secret Key and an
 /// AmazonIdentityManagementServiceClient Configuration object. If the config object's
 /// UseSecureStringForAwsSecretKey is false, the AWS Secret Key
 /// is stored as a clear-text string. Please use this option only
 /// if the application environment doesn't allow the use of SecureStrings.
 /// </summary>
 /// <param name="awsAccessKeyId">AWS Access Key ID</param>
 /// <param name="awsSecretAccessKey">AWS Secret Access Key</param>
 /// <param name="clientConfig">The AmazonIdentityManagementServiceClient Configuration Object</param>
 public AmazonIdentityManagementServiceClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonIdentityManagementServiceConfig clientConfig)
     : base(awsAccessKeyId, awsSecretAccessKey, clientConfig, AuthenticationTypes.User)
 {
 }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient with AWS Credentials and an
 /// AmazonIdentityManagementServiceClient Configuration object.
 /// </summary>
 /// <param name="credentials">AWS Credentials</param>
 /// <param name="clientConfig">The AmazonIdentityManagementServiceClient Configuration Object</param>
 public AmazonIdentityManagementServiceClient(AWSCredentials credentials, AmazonIdentityManagementServiceConfig clientConfig)
     : base(credentials, clientConfig, false, AuthenticationTypes.User)
 {
 }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient 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="AWSAccessKey" value="********************"/&gt;
 ///         &lt;add key="AWSSecretKey" value="****************************************"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 ///
 /// </summary>
 /// <param name="config">The AmazonIdentityManagementService Configuration Object</param>
 public AmazonIdentityManagementServiceClient(AmazonIdentityManagementServiceConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config, true, AuthenticationTypes.User)
 {
 }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient 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 AmazonIdentityManagementServiceClient Configuration Object</param>
 public AmazonIdentityManagementServiceClient(AmazonIdentityManagementServiceConfig config)
     : base(FallbackCredentialsFactory.GetCredentials(), config) { }
 /// <summary>
 /// Constructs AmazonIdentityManagementServiceClient with the credentials defined in the App.config.
 /// 
 /// 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="AWSAccessKey" value="********************"/&gt;
 ///         &lt;add key="AWSSecretKey" value="****************************************"/&gt;
 ///     &lt;/appSettings&gt;
 /// &lt;/configuration&gt;
 /// </code>
 ///
 /// </summary>
 /// <param name="config">The AmazonIdentityManagementService Configuration Object</param>
 public AmazonIdentityManagementServiceClient(AmazonIdentityManagementServiceConfig config)
     : base(new EnvironmentAWSCredentials(), config, true, AuthenticationTypes.User)
 {
 }