Class SamlKey
Creates a SAML Identity Provider Signing Key.
This resource allows you to create and configure a SAML Identity Provider Signing Key.
Example Usage
using Pulumi;
using Okta = Pulumi.Okta;
class MyStack : Stack
{
public MyStack()
{
var example = new Okta.Idp.SamlKey("example", new Okta.Idp.SamlKeyArgs
{
X5cs =
{
okta_app_saml.Example.Certificate,
},
});
}
}
Inherited Members
Namespace: Pulumi.Okta.Idp
Assembly: Pulumi.Okta.dll
Syntax
public class SamlKey : CustomResource
Constructors
View SourceSamlKey(String, SamlKeyArgs, CustomResourceOptions)
Create a SamlKey resource with the given unique name, arguments, and options.
Declaration
public SamlKey(string name, SamlKeyArgs args, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resource |
| SamlKeyArgs | args | The arguments used to populate this resource's properties |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Properties
View SourceCreated
Date created.
Declaration
public Output<string> Created { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
ExpiresAt
Date the cert expires.
Declaration
public Output<string> ExpiresAt { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Kid
Key ID.
Declaration
public Output<string> Kid { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Kty
Identifies the cryptographic algorithm family used with the key.
Declaration
public Output<string> Kty { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Use
Intended use of the public key.
Declaration
public Output<string> Use { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
X5cs
base64-encoded X.509 certificate chain with DER encoding.
Declaration
public Output<ImmutableArray<string>> X5cs { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.Collections.Immutable.ImmutableArray<System.String>> |
X5tS256
base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
Declaration
public Output<string> X5tS256 { get; }
Property Value
| Type | Description |
|---|---|
| Output<System.String> |
Methods
View SourceGet(String, Input<String>, SamlKeyState, CustomResourceOptions)
Get an existing SamlKey resource's state with the given name, ID, and optional extra properties used to qualify the lookup.
Declaration
public static SamlKey Get(string name, Input<string> id, SamlKeyState state = null, CustomResourceOptions options = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | The unique name of the resulting resource. |
| Input<System.String> | id | The unique provider ID of the resource to lookup. |
| SamlKeyState | state | Any extra arguments used during the lookup. |
| CustomResourceOptions | options | A bag of options that control this resource's behavior |
Returns
| Type | Description |
|---|---|
| SamlKey |