cyral.IntegrationMfaDuo
Explore with Pulumi AI
Manages integration with Duo MFA.
Create IntegrationMfaDuo Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new IntegrationMfaDuo(name: string, args: IntegrationMfaDuoArgs, opts?: CustomResourceOptions);
@overload
def IntegrationMfaDuo(resource_name: str,
args: IntegrationMfaDuoArgs,
opts: Optional[ResourceOptions] = None)
@overload
def IntegrationMfaDuo(resource_name: str,
opts: Optional[ResourceOptions] = None,
api_hostname: Optional[str] = None,
integration_key: Optional[str] = None,
secret_key: Optional[str] = None,
name: Optional[str] = None)
func NewIntegrationMfaDuo(ctx *Context, name string, args IntegrationMfaDuoArgs, opts ...ResourceOption) (*IntegrationMfaDuo, error)
public IntegrationMfaDuo(string name, IntegrationMfaDuoArgs args, CustomResourceOptions? opts = null)
public IntegrationMfaDuo(String name, IntegrationMfaDuoArgs args)
public IntegrationMfaDuo(String name, IntegrationMfaDuoArgs args, CustomResourceOptions options)
type: cyral:IntegrationMfaDuo
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args IntegrationMfaDuoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args IntegrationMfaDuoArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args IntegrationMfaDuoArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args IntegrationMfaDuoArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args IntegrationMfaDuoArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var integrationMfaDuoResource = new Cyral.IntegrationMfaDuo("integrationMfaDuoResource", new()
{
ApiHostname = "string",
IntegrationKey = "string",
SecretKey = "string",
Name = "string",
});
example, err := cyral.NewIntegrationMfaDuo(ctx, "integrationMfaDuoResource", &cyral.IntegrationMfaDuoArgs{
ApiHostname: pulumi.String("string"),
IntegrationKey: pulumi.String("string"),
SecretKey: pulumi.String("string"),
Name: pulumi.String("string"),
})
var integrationMfaDuoResource = new IntegrationMfaDuo("integrationMfaDuoResource", IntegrationMfaDuoArgs.builder()
.apiHostname("string")
.integrationKey("string")
.secretKey("string")
.name("string")
.build());
integration_mfa_duo_resource = cyral.IntegrationMfaDuo("integrationMfaDuoResource",
api_hostname="string",
integration_key="string",
secret_key="string",
name="string")
const integrationMfaDuoResource = new cyral.IntegrationMfaDuo("integrationMfaDuoResource", {
apiHostname: "string",
integrationKey: "string",
secretKey: "string",
name: "string",
});
type: cyral:IntegrationMfaDuo
properties:
apiHostname: string
integrationKey: string
name: string
secretKey: string
IntegrationMfaDuo Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The IntegrationMfaDuo resource accepts the following input properties:
- Api
Hostname string - API hostname obtained from Duo management console.
- Integration
Key string - Integration key name obtained from Duo management console.
- Secret
Key string - Secret key obtained from Duo management console.
- Name string
- Integration display name that will be used in the control plane.
- Api
Hostname string - API hostname obtained from Duo management console.
- Integration
Key string - Integration key name obtained from Duo management console.
- Secret
Key string - Secret key obtained from Duo management console.
- Name string
- Integration display name that will be used in the control plane.
- api
Hostname String - API hostname obtained from Duo management console.
- integration
Key String - Integration key name obtained from Duo management console.
- secret
Key String - Secret key obtained from Duo management console.
- name String
- Integration display name that will be used in the control plane.
- api
Hostname string - API hostname obtained from Duo management console.
- integration
Key string - Integration key name obtained from Duo management console.
- secret
Key string - Secret key obtained from Duo management console.
- name string
- Integration display name that will be used in the control plane.
- api_
hostname str - API hostname obtained from Duo management console.
- integration_
key str - Integration key name obtained from Duo management console.
- secret_
key str - Secret key obtained from Duo management console.
- name str
- Integration display name that will be used in the control plane.
- api
Hostname String - API hostname obtained from Duo management console.
- integration
Key String - Integration key name obtained from Duo management console.
- secret
Key String - Secret key obtained from Duo management console.
- name String
- Integration display name that will be used in the control plane.
Outputs
All input properties are implicitly available as output properties. Additionally, the IntegrationMfaDuo resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing IntegrationMfaDuo Resource
Get an existing IntegrationMfaDuo resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: IntegrationMfaDuoState, opts?: CustomResourceOptions): IntegrationMfaDuo
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
api_hostname: Optional[str] = None,
integration_key: Optional[str] = None,
name: Optional[str] = None,
secret_key: Optional[str] = None) -> IntegrationMfaDuo
func GetIntegrationMfaDuo(ctx *Context, name string, id IDInput, state *IntegrationMfaDuoState, opts ...ResourceOption) (*IntegrationMfaDuo, error)
public static IntegrationMfaDuo Get(string name, Input<string> id, IntegrationMfaDuoState? state, CustomResourceOptions? opts = null)
public static IntegrationMfaDuo get(String name, Output<String> id, IntegrationMfaDuoState state, CustomResourceOptions options)
resources: _: type: cyral:IntegrationMfaDuo get: id: ${id}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Api
Hostname string - API hostname obtained from Duo management console.
- Integration
Key string - Integration key name obtained from Duo management console.
- Name string
- Integration display name that will be used in the control plane.
- Secret
Key string - Secret key obtained from Duo management console.
- Api
Hostname string - API hostname obtained from Duo management console.
- Integration
Key string - Integration key name obtained from Duo management console.
- Name string
- Integration display name that will be used in the control plane.
- Secret
Key string - Secret key obtained from Duo management console.
- api
Hostname String - API hostname obtained from Duo management console.
- integration
Key String - Integration key name obtained from Duo management console.
- name String
- Integration display name that will be used in the control plane.
- secret
Key String - Secret key obtained from Duo management console.
- api
Hostname string - API hostname obtained from Duo management console.
- integration
Key string - Integration key name obtained from Duo management console.
- name string
- Integration display name that will be used in the control plane.
- secret
Key string - Secret key obtained from Duo management console.
- api_
hostname str - API hostname obtained from Duo management console.
- integration_
key str - Integration key name obtained from Duo management console.
- name str
- Integration display name that will be used in the control plane.
- secret_
key str - Secret key obtained from Duo management console.
- api
Hostname String - API hostname obtained from Duo management console.
- integration
Key String - Integration key name obtained from Duo management console.
- name String
- Integration display name that will be used in the control plane.
- secret
Key String - Secret key obtained from Duo management console.
Package Details
- Repository
- cyral cyralinc/terraform-provider-cyral
- License
- Notes
- This Pulumi package is based on the
cyral
Terraform Provider.