okta.idp.SamlKey
Explore with Pulumi AI
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as okta from "@pulumi/okta";
const example1 = new okta.idp.SamlKey("example_1", {x5cs: [example.certificate]});
const example2 = new okta.idp.SamlKey("example_2", {x5cs: [`MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p
YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM
B2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB
jzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r
dGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf
n6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4
wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s
DQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/
DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I
YR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s
Dt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo
1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9`]});
import pulumi
import pulumi_okta as okta
example1 = okta.idp.SamlKey("example_1", x5cs=[example["certificate"]])
example2 = okta.idp.SamlKey("example_2", x5cs=["""MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p
YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM
B2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB
jzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r
dGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf
n6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4
wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s
DQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/
DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I
YR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s
Dt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo
1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9"""])
package main
import (
"github.com/pulumi/pulumi-okta/sdk/v4/go/okta/idp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := idp.NewSamlKey(ctx, "example_1", &idp.SamlKeyArgs{
X5cs: pulumi.StringArray{
example.Certificate,
},
})
if err != nil {
return err
}
_, err = idp.NewSamlKey(ctx, "example_2", &idp.SamlKeyArgs{
X5cs: pulumi.StringArray{
pulumi.String(`MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p
YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAM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9`),
},
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Okta = Pulumi.Okta;
return await Deployment.RunAsync(() =>
{
var example1 = new Okta.Idp.SamlKey("example_1", new()
{
X5cs = new[]
{
example.Certificate,
},
});
var example2 = new Okta.Idp.SamlKey("example_2", new()
{
X5cs = new[]
{
@"MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p
YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM
B2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB
jzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r
dGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf
n6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4
wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s
DQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/
DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I
YR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s
Dt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo
1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9",
},
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.okta.idp.SamlKey;
import com.pulumi.okta.idp.SamlKeyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var example1 = new SamlKey("example1", SamlKeyArgs.builder()
.x5cs(example.certificate())
.build());
var example2 = new SamlKey("example2", SamlKeyArgs.builder()
.x5cs("""
MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1UECAwKQ2FsaWZvcm5p
YTEWMBQGA1UEBwwNU2FuIEZyYW5jaXNjbzENMAsGA1UECgwET2t0YTEUMBIGA1UECwwLU1NPUHJvdmlkZXIxEDAOBgNVBAMM
B2V4YW1wbGUxHDAaBgkqhkiG9w0BCQEWDWluZm9Ab2t0YS5jb20wHhcNMTUxMjE4MjIyMjMyWhcNMjUxMjE4MjIyMzMyWjCB
jzELMAkGA1UEBhMCVVMxEzARBgNVBAgMCkNhbGlmb3JuaWExFjAUBgNVBAcMDVNhbiBGcmFuY2lzY28xDTALBgNVBAoMBE9r
dGExFDASBgNVBAsMC1NTT1Byb3ZpZGVyMRAwDgYDVQQDDAdleGFtcGxlMRwwGgYJKoZIhvcNAQkBFg1pbmZvQG9rdGEuY29t
MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAtcnyvuVCrsFEKCwHDenS3Ocjed8eWDv3zLtD2K/iZfE8BMj2wpTf
n6Ry8zCYey3mWlKdxIybnV9amrujGRnE0ab6Q16v9D6RlFQLOG6dwqoRKuZy33Uyg8PGdEudZjGbWuKCqqXEp+UKALJHV+k4
wWeVH8g5d1n3KyR2TVajVJpCrPhLFmq1Il4G/IUnPe4MvjXqB6CpKkog1+ThWsItPRJPAM+RweFHXq7KfChXsYE7Mmfuly8s
DQlvBmQyxZnFHVuiPfCvGHJjpvHy11YlHdOjfgqHRvZbmo30+y0X/oY/yV4YEJ00LL6eJWU4wi7ViY3HP6/VCdRjHoRdr5L/
DwIDAQABMA0GCSqGSIb3DQEBBQUAA4IBAQCzzhOFkvyYLNFj2WDcq1YqD4sBy1iCia9QpRH3rjQvMKDwQDYWbi6EdOX0TQ/I
YR7UWGj+2pXd6v0t33lYtoKocp/4lUvT3tfBnWZ5KnObi+J2uY2teUqoYkASN7F+GRPVOuMVoVgm05ss8tuMb2dLc9vsx93s
Dt+XlMTv/2qi5VPwaDtqduKkzwW9lUfn4xIMkTiVvCpe0X2HneD2Bpuao3/U8Rk0uiPfq6TooWaoW3kjsmErhEAs9bA7xuqo
1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9 """)
.build());
}
}
resources:
example1:
type: okta:idp:SamlKey
name: example_1
properties:
x5cs:
- ${example.certificate}
example2:
type: okta:idp:SamlKey
name: example_2
properties:
x5cs:
- |-
MIIDnjCCAoagAwIBAgIGAVG3MN+PMA0GCSqGSIb3DQEBBQUAMIGPMQswCQYDVQQGEwJVUzETMBEGA1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q6TooWaoW3kjsmErhEAs9bA7xuqo
1KKY9CdHcFhkSsMhoeaZylZHtzbnoipUlQKSLMdJQiiYZQ0bYL83/Ta9fulr1EERICMFt3GUmtYaZZKHpWSfdJp9
Create SamlKey Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new SamlKey(name: string, args: SamlKeyArgs, opts?: CustomResourceOptions);
@overload
def SamlKey(resource_name: str,
args: SamlKeyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def SamlKey(resource_name: str,
opts: Optional[ResourceOptions] = None,
x5cs: Optional[Sequence[str]] = None)
func NewSamlKey(ctx *Context, name string, args SamlKeyArgs, opts ...ResourceOption) (*SamlKey, error)
public SamlKey(string name, SamlKeyArgs args, CustomResourceOptions? opts = null)
public SamlKey(String name, SamlKeyArgs args)
public SamlKey(String name, SamlKeyArgs args, CustomResourceOptions options)
type: okta:idp:SamlKey
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 SamlKeyArgs
- 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 SamlKeyArgs
- 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 SamlKeyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args SamlKeyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args SamlKeyArgs
- 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 samlKeyResource = new Okta.Idp.SamlKey("samlKeyResource", new()
{
X5cs = new[]
{
"string",
},
});
example, err := idp.NewSamlKey(ctx, "samlKeyResource", &idp.SamlKeyArgs{
X5cs: pulumi.StringArray{
pulumi.String("string"),
},
})
var samlKeyResource = new SamlKey("samlKeyResource", SamlKeyArgs.builder()
.x5cs("string")
.build());
saml_key_resource = okta.idp.SamlKey("samlKeyResource", x5cs=["string"])
const samlKeyResource = new okta.idp.SamlKey("samlKeyResource", {x5cs: ["string"]});
type: okta:idp:SamlKey
properties:
x5cs:
- string
SamlKey Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The SamlKey resource accepts the following input properties:
- X5cs List<string>
- base64-encoded X.509 certificate chain with DER encoding
- X5cs []string
- base64-encoded X.509 certificate chain with DER encoding
- x5cs List<String>
- base64-encoded X.509 certificate chain with DER encoding
- x5cs string[]
- base64-encoded X.509 certificate chain with DER encoding
- x5cs Sequence[str]
- base64-encoded X.509 certificate chain with DER encoding
- x5cs List<String>
- base64-encoded X.509 certificate chain with DER encoding
Outputs
All input properties are implicitly available as output properties. Additionally, the SamlKey resource produces the following output properties:
- Created string
- Date created.
- Expires
At string - Date the cert expires.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kid string
- Key ID.
- Kty string
- Identifies the cryptographic algorithm family used with the key.
- Use string
- Intended use of the public key.
- X5t
S256 string - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- Created string
- Date created.
- Expires
At string - Date the cert expires.
- Id string
- The provider-assigned unique ID for this managed resource.
- Kid string
- Key ID.
- Kty string
- Identifies the cryptographic algorithm family used with the key.
- Use string
- Intended use of the public key.
- X5t
S256 string - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created String
- Date created.
- expires
At String - Date the cert expires.
- id String
- The provider-assigned unique ID for this managed resource.
- kid String
- Key ID.
- kty String
- Identifies the cryptographic algorithm family used with the key.
- use String
- Intended use of the public key.
- x5t
S256 String - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created string
- Date created.
- expires
At string - Date the cert expires.
- id string
- The provider-assigned unique ID for this managed resource.
- kid string
- Key ID.
- kty string
- Identifies the cryptographic algorithm family used with the key.
- use string
- Intended use of the public key.
- x5t
S256 string - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created str
- Date created.
- expires_
at str - Date the cert expires.
- id str
- The provider-assigned unique ID for this managed resource.
- kid str
- Key ID.
- kty str
- Identifies the cryptographic algorithm family used with the key.
- use str
- Intended use of the public key.
- x5t_
s256 str - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created String
- Date created.
- expires
At String - Date the cert expires.
- id String
- The provider-assigned unique ID for this managed resource.
- kid String
- Key ID.
- kty String
- Identifies the cryptographic algorithm family used with the key.
- use String
- Intended use of the public key.
- x5t
S256 String - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
Look up Existing SamlKey Resource
Get an existing SamlKey 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?: SamlKeyState, opts?: CustomResourceOptions): SamlKey
@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
created: Optional[str] = None,
expires_at: Optional[str] = None,
kid: Optional[str] = None,
kty: Optional[str] = None,
use: Optional[str] = None,
x5cs: Optional[Sequence[str]] = None,
x5t_s256: Optional[str] = None) -> SamlKey
func GetSamlKey(ctx *Context, name string, id IDInput, state *SamlKeyState, opts ...ResourceOption) (*SamlKey, error)
public static SamlKey Get(string name, Input<string> id, SamlKeyState? state, CustomResourceOptions? opts = null)
public static SamlKey get(String name, Output<String> id, SamlKeyState state, CustomResourceOptions options)
Resource lookup is not supported in YAML
- 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.
- Created string
- Date created.
- Expires
At string - Date the cert expires.
- Kid string
- Key ID.
- Kty string
- Identifies the cryptographic algorithm family used with the key.
- Use string
- Intended use of the public key.
- X5cs List<string>
- base64-encoded X.509 certificate chain with DER encoding
- X5t
S256 string - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- Created string
- Date created.
- Expires
At string - Date the cert expires.
- Kid string
- Key ID.
- Kty string
- Identifies the cryptographic algorithm family used with the key.
- Use string
- Intended use of the public key.
- X5cs []string
- base64-encoded X.509 certificate chain with DER encoding
- X5t
S256 string - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created String
- Date created.
- expires
At String - Date the cert expires.
- kid String
- Key ID.
- kty String
- Identifies the cryptographic algorithm family used with the key.
- use String
- Intended use of the public key.
- x5cs List<String>
- base64-encoded X.509 certificate chain with DER encoding
- x5t
S256 String - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created string
- Date created.
- expires
At string - Date the cert expires.
- kid string
- Key ID.
- kty string
- Identifies the cryptographic algorithm family used with the key.
- use string
- Intended use of the public key.
- x5cs string[]
- base64-encoded X.509 certificate chain with DER encoding
- x5t
S256 string - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created str
- Date created.
- expires_
at str - Date the cert expires.
- kid str
- Key ID.
- kty str
- Identifies the cryptographic algorithm family used with the key.
- use str
- Intended use of the public key.
- x5cs Sequence[str]
- base64-encoded X.509 certificate chain with DER encoding
- x5t_
s256 str - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
- created String
- Date created.
- expires
At String - Date the cert expires.
- kid String
- Key ID.
- kty String
- Identifies the cryptographic algorithm family used with the key.
- use String
- Intended use of the public key.
- x5cs List<String>
- base64-encoded X.509 certificate chain with DER encoding
- x5t
S256 String - base64url-encoded SHA-256 thumbprint of the DER encoding of an X.509 certificate.
Import
$ pulumi import okta:idp/samlKey:SamlKey example <key_id>
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Okta pulumi/pulumi-okta
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
okta
Terraform Provider.