@pulumiverse/scaleway
Version:
A Pulumi package for creating and managing Scaleway cloud resources.
81 lines • 2.52 kB
TypeScript
import * as pulumi from "@pulumi/pulumi";
/**
* Get information about a SAML certificate. This data source allows you to retrieve information about a specific SAML certificate by its ID.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* //## Get information about a SAML certificate
* const main = scaleway.iam.getSamlCertificate({
* certificateId: "22222222-2222-2222-2222-222222222222",
* });
* ```
*/
export declare function getSamlCertificate(args: GetSamlCertificateArgs, opts?: pulumi.InvokeOptions): Promise<GetSamlCertificateResult>;
/**
* A collection of arguments for invoking getSamlCertificate.
*/
export interface GetSamlCertificateArgs {
/**
* The ID of the SAML certificate
*/
certificateId: string;
}
/**
* A collection of values returned by getSamlCertificate.
*/
export interface GetSamlCertificateResult {
/**
* The ID of the SAML certificate
*/
readonly certificateId: string;
/**
* The content of the SAML certificate
*/
readonly content: string;
/**
* The expiration date and time of the SAML certificate
*/
readonly expiresAt: string;
/**
* The provider-assigned unique ID for this managed resource.
*/
readonly id: string;
/**
* The origin of the SAML certificate. Possible values are: `scaleway`, `identityProvider`.
*/
readonly origin: string;
/**
* The type of the SAML certificate. Possible values are: `signing`, `encryption`.
*/
readonly type: string;
}
/**
* Get information about a SAML certificate. This data source allows you to retrieve information about a specific SAML certificate by its ID.
*
* ## Example Usage
*
* ```typescript
* import * as pulumi from "@pulumi/pulumi";
* import * as scaleway from "@pulumiverse/scaleway";
*
* //## Get information about a SAML certificate
* const main = scaleway.iam.getSamlCertificate({
* certificateId: "22222222-2222-2222-2222-222222222222",
* });
* ```
*/
export declare function getSamlCertificateOutput(args: GetSamlCertificateOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetSamlCertificateResult>;
/**
* A collection of arguments for invoking getSamlCertificate.
*/
export interface GetSamlCertificateOutputArgs {
/**
* The ID of the SAML certificate
*/
certificateId: pulumi.Input<string>;
}
//# sourceMappingURL=getSamlCertificate.d.ts.map