1. Packages
  2. Google Cloud Native
  3. API Docs
  4. appengine
  5. appengine/v1beta
  6. AuthorizedCertificate

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.appengine/v1beta.AuthorizedCertificate

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Uploads the specified SSL certificate. Auto-naming is currently not supported for this resource.

    Create AuthorizedCertificate Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new AuthorizedCertificate(name: string, args: AuthorizedCertificateArgs, opts?: CustomResourceOptions);
    @overload
    def AuthorizedCertificate(resource_name: str,
                              args: AuthorizedCertificateArgs,
                              opts: Optional[ResourceOptions] = None)
    
    @overload
    def AuthorizedCertificate(resource_name: str,
                              opts: Optional[ResourceOptions] = None,
                              app_id: Optional[str] = None,
                              certificate_raw_data: Optional[CertificateRawDataArgs] = None,
                              display_name: Optional[str] = None)
    func NewAuthorizedCertificate(ctx *Context, name string, args AuthorizedCertificateArgs, opts ...ResourceOption) (*AuthorizedCertificate, error)
    public AuthorizedCertificate(string name, AuthorizedCertificateArgs args, CustomResourceOptions? opts = null)
    public AuthorizedCertificate(String name, AuthorizedCertificateArgs args)
    public AuthorizedCertificate(String name, AuthorizedCertificateArgs args, CustomResourceOptions options)
    
    type: google-native:appengine/v1beta:AuthorizedCertificate
    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 AuthorizedCertificateArgs
    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 AuthorizedCertificateArgs
    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 AuthorizedCertificateArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args AuthorizedCertificateArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args AuthorizedCertificateArgs
    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 exampleauthorizedCertificateResourceResourceFromAppenginev1beta = new GoogleNative.AppEngine.V1Beta.AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta", new()
    {
        AppId = "string",
        CertificateRawData = new GoogleNative.AppEngine.V1Beta.Inputs.CertificateRawDataArgs
        {
            PrivateKey = "string",
            PublicCertificate = "string",
        },
        DisplayName = "string",
    });
    
    example, err := appenginev1beta.NewAuthorizedCertificate(ctx, "exampleauthorizedCertificateResourceResourceFromAppenginev1beta", &appenginev1beta.AuthorizedCertificateArgs{
    AppId: pulumi.String("string"),
    CertificateRawData: &appengine.CertificateRawDataArgs{
    PrivateKey: pulumi.String("string"),
    PublicCertificate: pulumi.String("string"),
    },
    DisplayName: pulumi.String("string"),
    })
    
    var exampleauthorizedCertificateResourceResourceFromAppenginev1beta = new AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta", AuthorizedCertificateArgs.builder()
        .appId("string")
        .certificateRawData(CertificateRawDataArgs.builder()
            .privateKey("string")
            .publicCertificate("string")
            .build())
        .displayName("string")
        .build());
    
    exampleauthorized_certificate_resource_resource_from_appenginev1beta = google_native.appengine.v1beta.AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta",
        app_id="string",
        certificate_raw_data=google_native.appengine.v1beta.CertificateRawDataArgs(
            private_key="string",
            public_certificate="string",
        ),
        display_name="string")
    
    const exampleauthorizedCertificateResourceResourceFromAppenginev1beta = new google_native.appengine.v1beta.AuthorizedCertificate("exampleauthorizedCertificateResourceResourceFromAppenginev1beta", {
        appId: "string",
        certificateRawData: {
            privateKey: "string",
            publicCertificate: "string",
        },
        displayName: "string",
    });
    
    type: google-native:appengine/v1beta:AuthorizedCertificate
    properties:
        appId: string
        certificateRawData:
            privateKey: string
            publicCertificate: string
        displayName: string
    

    AuthorizedCertificate 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 AuthorizedCertificate resource accepts the following input properties:

    AppId string
    CertificateRawData Pulumi.GoogleNative.AppEngine.V1Beta.Inputs.CertificateRawData
    The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
    DisplayName string
    The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
    AppId string
    CertificateRawData CertificateRawDataArgs
    The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
    DisplayName string
    The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
    appId String
    certificateRawData CertificateRawData
    The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
    displayName String
    The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
    appId string
    certificateRawData CertificateRawData
    The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
    displayName string
    The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
    app_id str
    certificate_raw_data CertificateRawDataArgs
    The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
    display_name str
    The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.
    appId String
    certificateRawData Property Map
    The SSL certificate serving the AuthorizedCertificate resource. This must be obtained independently from a certificate authority.
    displayName String
    The user-specified display name of the certificate. This is not guaranteed to be unique. Example: My Certificate.

    Outputs

    All input properties are implicitly available as output properties. Additionally, the AuthorizedCertificate resource produces the following output properties:

    DomainMappingsCount int
    Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    DomainNames List<string>
    Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
    ExpireTime string
    The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedCertificate Pulumi.GoogleNative.AppEngine.V1Beta.Outputs.ManagedCertificateResponse
    Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
    Name string
    Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
    VisibleDomainMappings List<string>
    The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    DomainMappingsCount int
    Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    DomainNames []string
    Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
    ExpireTime string
    The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
    Id string
    The provider-assigned unique ID for this managed resource.
    ManagedCertificate ManagedCertificateResponse
    Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
    Name string
    Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
    VisibleDomainMappings []string
    The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domainMappingsCount Integer
    Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domainNames List<String>
    Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
    expireTime String
    The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
    id String
    The provider-assigned unique ID for this managed resource.
    managedCertificate ManagedCertificateResponse
    Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
    name String
    Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
    visibleDomainMappings List<String>
    The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domainMappingsCount number
    Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domainNames string[]
    Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
    expireTime string
    The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
    id string
    The provider-assigned unique ID for this managed resource.
    managedCertificate ManagedCertificateResponse
    Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
    name string
    Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
    visibleDomainMappings string[]
    The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domain_mappings_count int
    Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domain_names Sequence[str]
    Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
    expire_time str
    The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
    id str
    The provider-assigned unique ID for this managed resource.
    managed_certificate ManagedCertificateResponse
    Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
    name str
    Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
    visible_domain_mappings Sequence[str]
    The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domainMappingsCount Number
    Aggregate count of the domain mappings with this certificate mapped. This count includes domain mappings on applications for which the user does not have VIEWER permissions.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.
    domainNames List<String>
    Topmost applicable domains of this certificate. This certificate applies to these domains and their subdomains. Example: example.com.
    expireTime String
    The time when this certificate expires. To update the renewal time on this certificate, upload an SSL certificate with a different expiration time using AuthorizedCertificates.UpdateAuthorizedCertificate.
    id String
    The provider-assigned unique ID for this managed resource.
    managedCertificate Property Map
    Only applicable if this certificate is managed by App Engine. Managed certificates are tied to the lifecycle of a DomainMapping and cannot be updated or deleted via the AuthorizedCertificates API. If this certificate is manually administered by the user, this field will be empty.
    name String
    Full path to the AuthorizedCertificate resource in the API. Example: apps/myapp/authorizedCertificates/12345.
    visibleDomainMappings List<String>
    The full paths to user visible Domain Mapping resources that have this certificate mapped. Example: apps/myapp/domainMappings/example.com.This may not represent the full list of mapped domain mappings if the user does not have VIEWER permissions on all of the applications that have this certificate mapped. See domain_mappings_count for a complete count.Only returned by GET or LIST requests when specifically requested by the view=FULL_CERTIFICATE option.

    Supporting Types

    CertificateRawData, CertificateRawDataArgs

    PrivateKey string
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    PublicCertificate string
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    PrivateKey string
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    PublicCertificate string
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    privateKey String
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    publicCertificate String
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    privateKey string
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    publicCertificate string
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    private_key str
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    public_certificate str
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    privateKey String
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    publicCertificate String
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

    CertificateRawDataResponse, CertificateRawDataResponseArgs

    PrivateKey string
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    PublicCertificate string
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    PrivateKey string
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    PublicCertificate string
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    privateKey String
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    publicCertificate String
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    privateKey string
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    publicCertificate string
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    private_key str
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    public_certificate str
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----
    privateKey String
    Unencrypted PEM encoded RSA private key. This field is set once on certificate creation and then encrypted. The key size must be 2048 bits or fewer. Must include the header and footer. Example: -----BEGIN RSA PRIVATE KEY----- -----END RSA PRIVATE KEY----- @InputOnly
    publicCertificate String
    PEM encoded x.509 public key certificate. This field is set once on certificate creation. Must include the header and footer. Example: -----BEGIN CERTIFICATE----- -----END CERTIFICATE-----

    ManagedCertificateResponse, ManagedCertificateResponseArgs

    LastRenewalTime string
    Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
    Status string
    Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
    LastRenewalTime string
    Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
    Status string
    Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
    lastRenewalTime String
    Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
    status String
    Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
    lastRenewalTime string
    Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
    status string
    Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
    last_renewal_time str
    Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
    status str
    Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.
    lastRenewalTime String
    Time at which the certificate was last renewed. The renewal process is fully managed. Certificate renewal will automatically occur before the certificate expires. Renewal errors can be tracked via ManagementStatus.
    status String
    Status of certificate management. Refers to the most recent certificate acquisition or renewal attempt.

    Package Details

    Repository
    Google Cloud Native pulumi/pulumi-google-native
    License
    Apache-2.0
    google-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi