Data Governance Server Documentation Index
Command-Line Tool Reference Home

base64

Description
Examples
Subcommands
Arguments

Description

Encode raw data using the base64 algorithm or decode base64-encoded data back to its raw representation.

Examples

Base-64 decodes the encoded string 'c2VjcmV0':
base64 decode -d c2VjcmV0


Base-64 encodes the clear-text string 'secret':
base64 encode -d secret

Subcommands

decode
encode

decode

Decode base64-encoded information into raw data


decode Examples

Base-64 decodes the encoded string 'c2VjcmV0':
base64 decode -d c2VjcmV0

decode Arguments

-d {data}
--encodedData {data}

Description The base64-encoded data to be decoded
Required No
Multi-Valued No

-f {path}
--encodedDataFile {path}

Description The path to a file containing the base64-encoded data to be decoded
Required No
Multi-Valued No

-o {path}
--toRawFile {path}

Description The path to a file to which the raw base64-decoded data should be written
Required No
Multi-Valued No

encode

Encode raw data using base64


encode Examples

Base-64 encodes the clear-text string 'secret':
base64 encode -d secret

encode Arguments

-d {data}
--rawData {data}

Description The raw data to be base64 encoded
Required No
Multi-Valued No

-f {path}
--rawDataFile {path}

Description The path to a file containing the raw data to be base64 encoded
Required No
Multi-Valued No

-o {path}
--toEncodedFile {path}

Description The path to a file to which the base64-encoded data should be written
Required No
Multi-Valued No

Arguments

-V
--version

Description Display Data Governance Server version information

-H
--help

Description Display general usage information

--help-debug

Description Display help for using debug options
Advanced Yes