Skip to content

Commit

Permalink
Merge pull request #2038 from OctopusDeploy/michrich/pfx-vars
Browse files Browse the repository at this point in the history
Adding a little extra context for pfx certificate variables
  • Loading branch information
steve-fenton-octopus authored Oct 12, 2023
2 parents 9963845 + 1df344f commit 0c4d983
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/pages/docs/projects/variables/certificate-variables.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
layout: src/layouts/Default.astro
pubDate: 2023-01-01
modDate: 2023-01-01
modDate: 2023-10-12
title: Certificate variables
description: Variables in Octopus Deploy can have a certificate as the value
navOrder: 60
Expand Down Expand Up @@ -31,7 +31,7 @@ At deploy-time, certificate variables are expanded. For example, a variable _MyC
| `MyCertificate.Thumbprint` | Thumbprint | A163E39F59560E6FE33A0299D19124B242D9B37E
| `MyCertificate.RawOriginal` | The base64 encoded original file, exactly as it was uploaded. |
| `MyCertificate.Password` | The password specified when the file was uploaded. |
| `MyCertificate.Pfx` | The base64 encoded certificate in PKCS#12 format, including the private-key if present. |
| `MyCertificate.Pfx` | The base64 encoded certificate in [PKCS#12](https://datatracker.ietf.org/doc/html/rfc7292#page-9) format, including the private-key if present. If the originally uploaded certificate was password-protected (i.e. `MyCertificate.Password` is not empty), then this value will also be a password-protected PFX (PKCS#12) format.
| `MyCertificate.Certificate` | The base64 encoded DER ASN.1 certificate. |
| `MyCertificate.PrivateKey` | The base64 encoded DER ASN.1 private key. This will be stored and transmitted as a [sensitive variable](/docs/projects/variables/sensitive-variables). |
| `MyCertificate.CertificatePem` | The PEM representation of the certificate (i.e. the PublicKey with header\footer). |
Expand Down Expand Up @@ -90,4 +90,4 @@ echo "$KEY" > ssl.key

## Learn more

- [Variable blog posts](https://octopus.com/blog/tag/variables)
- [Variable blog posts](https://octopus.com/blog/tag/variables)

0 comments on commit 0c4d983

Please sign in to comment.