@pulumi/ise
Version:
A Pulumi package for managing resources on a Cisco ISE (Identity Service Engine) instance.. Based on terraform-provider-ise: version v0.2.1
170 lines (169 loc) • 8 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* This resource can manage a Certificate Authentication Profile.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as ise from "@pulumi/ise";
*
* const example = new ise.identitymanagement.CertificateAuthenticationProfile("example", {
* name: "CertProf1",
* description: "My cert profile",
* allowedAsUserName: false,
* externalIdentityStoreName: "[not applicable]",
* certificateAttributeName: "SUBJECT_COMMON_NAME",
* matchMode: "NEVER",
* usernameFrom: "CERTIFICATE",
* });
* ```
*
* ## Import
*
* The `pulumi import` command can be used, for example:
*
* ```sh
* $ pulumi import ise:identitymanagement/certificateAuthenticationProfile:CertificateAuthenticationProfile example "76d24097-41c4-4558-a4d0-a8c07ac08470"
* ```
*/
export declare class CertificateAuthenticationProfile extends pulumi.CustomResource {
/**
* Get an existing CertificateAuthenticationProfile resource's state with the given name, ID, and optional extra
* properties used to qualify the lookup.
*
* @param name The _unique_ name of the resulting resource.
* @param id The _unique_ provider ID of the resource to lookup.
* @param state Any extra arguments used during the lookup.
* @param opts Optional settings to control the behavior of the CustomResource.
*/
static get(name: string, id: pulumi.Input<pulumi.ID>, state?: CertificateAuthenticationProfileState, opts?: pulumi.CustomResourceOptions): CertificateAuthenticationProfile;
/**
* Returns true if the given object is an instance of CertificateAuthenticationProfile. This is designed to work even
* when multiple copies of the Pulumi SDK have been loaded into the same process.
*/
static isInstance(obj: any): obj is CertificateAuthenticationProfile;
/**
* Allow as username
* - Default value: `false`
*/
readonly allowedAsUserName: pulumi.Output<boolean>;
/**
* Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `usernameFrom`. When `usernameFrom` is set to UPN, ISE automatically sets this to ALL_SUBJECT_AND_ALTERNATIVE_NAMES.
* - Choices: `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS`, `ALL_SUBJECT_AND_ALTERNATIVE_NAMES`
*/
readonly certificateAttributeName: pulumi.Output<string | undefined>;
/**
* Description
*/
readonly description: pulumi.Output<string | undefined>;
/**
* Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen
* - Default value: `[not applicable]`
*/
readonly externalIdentityStoreName: pulumi.Output<string>;
/**
* Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON
* - Choices: `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON`
* - Default value: `NEVER`
*/
readonly matchMode: pulumi.Output<string>;
/**
* The name of the certificate profile
*/
readonly name: pulumi.Output<string>;
/**
* The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the Certificate - an option only in AD)
* - Choices: `CERTIFICATE`, `UPN`
* - Default value: `CERTIFICATE`
*/
readonly usernameFrom: pulumi.Output<string>;
/**
* Create a CertificateAuthenticationProfile resource with the given unique name, arguments, and options.
*
* @param name The _unique_ name of the resource.
* @param args The arguments to use to populate this resource's properties.
* @param opts A bag of options that control this resource's behavior.
*/
constructor(name: string, args?: CertificateAuthenticationProfileArgs, opts?: pulumi.CustomResourceOptions);
}
/**
* Input properties used for looking up and filtering CertificateAuthenticationProfile resources.
*/
export interface CertificateAuthenticationProfileState {
/**
* Allow as username
* - Default value: `false`
*/
allowedAsUserName?: pulumi.Input<boolean>;
/**
* Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `usernameFrom`. When `usernameFrom` is set to UPN, ISE automatically sets this to ALL_SUBJECT_AND_ALTERNATIVE_NAMES.
* - Choices: `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS`, `ALL_SUBJECT_AND_ALTERNATIVE_NAMES`
*/
certificateAttributeName?: pulumi.Input<string>;
/**
* Description
*/
description?: pulumi.Input<string>;
/**
* Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen
* - Default value: `[not applicable]`
*/
externalIdentityStoreName?: pulumi.Input<string>;
/**
* Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON
* - Choices: `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON`
* - Default value: `NEVER`
*/
matchMode?: pulumi.Input<string>;
/**
* The name of the certificate profile
*/
name?: pulumi.Input<string>;
/**
* The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the Certificate - an option only in AD)
* - Choices: `CERTIFICATE`, `UPN`
* - Default value: `CERTIFICATE`
*/
usernameFrom?: pulumi.Input<string>;
}
/**
* The set of arguments for constructing a CertificateAuthenticationProfile resource.
*/
export interface CertificateAuthenticationProfileArgs {
/**
* Allow as username
* - Default value: `false`
*/
allowedAsUserName?: pulumi.Input<boolean>;
/**
* Attribute name of the Certificate Profile - used only when CERTIFICATE is chosen in `usernameFrom`. When `usernameFrom` is set to UPN, ISE automatically sets this to ALL_SUBJECT_AND_ALTERNATIVE_NAMES.
* - Choices: `SUBJECT_COMMON_NAME`, `SUBJECT_ALTERNATIVE_NAME`, `SUBJECT_SERIAL_NUMBER`, `SUBJECT`, `SUBJECT_ALTERNATIVE_NAME_OTHER_NAME`, `SUBJECT_ALTERNATIVE_NAME_EMAIL`, `SUBJECT_ALTERNATIVE_NAME_DNS`, `ALL_SUBJECT_AND_ALTERNATIVE_NAMES`
*/
certificateAttributeName?: pulumi.Input<string>;
/**
* Description
*/
description?: pulumi.Input<string>;
/**
* Referred IDStore name for the Certificate Profile or `[not applicable]` in case no identity store is chosen
* - Default value: `[not applicable]`
*/
externalIdentityStoreName?: pulumi.Input<string>;
/**
* Match mode of the Certificate Profile. Allowed values: NEVER, RESOLVE_IDENTITY_AMBIGUITY, BINARY_COMPARISON
* - Choices: `NEVER`, `RESOLVE_IDENTITY_AMBIGUITY`, `BINARY_COMPARISON`
* - Default value: `NEVER`
*/
matchMode?: pulumi.Input<string>;
/**
* The name of the certificate profile
*/
name?: pulumi.Input<string>;
/**
* The attribute in the certificate where the user name should be taken from. Allowed values: `CERTIFICATE` (for a specific attribute as defined in certificateAttributeName), `UPN` (for using any Subject or Alternative Name Attributes in the Certificate - an option only in AD)
* - Choices: `CERTIFICATE`, `UPN`
* - Default value: `CERTIFICATE`
*/
usernameFrom?: pulumi.Input<string>;
}