Cmdlets for PostgreSQL

Build 25.0.9434

OAuthJWTCert Parameter (Connect-PostgreSQL Cmdlet)

Supplies the name of the client certificate's JWT Certificate store.

Syntax

Connect-PostgreSQL -OAuthJWTCert string

Data Type

cstr

Default Value

""

Remarks

The OAuthJWTCertType field specifies the type of the certificate store specified in OAuthJWTCert. If the store is password-protected, use OAuthJWTCertPassword to supply the password..

OAuthJWTCert is used in conjunction with the OAuthJWTCertSubject field in order to specify client certificates. If OAuthJWTCert has a value, and OAuthJWTCertSubject is set, the CData Cmdlets PowerShell Module for PostgreSQL initiates a search for a certificate. For further information, see OAuthJWTCertSubject.

Designations of certificate stores are platform-dependent.

Notes

  • The most common User and Machine certificate stores in Windows include:
    • MY: A certificate store holding personal certificates with their associated private keys.
    • CA: Certifying authority certificates.
    • ROOT: Root certificates.
    • SPC: Software publisher certificates.
  • In Java, the certificate store normally is a file containing certificates and optional private keys.
  • When the certificate store type is PFXFile, this property must be set to the name of the file.
  • When the type is PFXBlob, the property must be set to the binary contents of a PFX file (i.e. PKCS12 certificate store).

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434