view release on metacpan or search on metacpan
lib/Firefox/Marionette.pm view on Meta::CPAN
}
if ( defined $parameters{user} ) {
$parameters{user} =
MIME::Base64::encode_base64url( $parameters{user} );
}
if ( !defined $parameters{private_key} ) {
$parameters{private_key} = {};
}
if ( ref $parameters{private_key} eq 'HASH' ) {
my $script = <<'_JS_';
let privateKeyArguments = {};
if (arguments[0]["name"]) {
privateKeyArguments["name"] = arguments[0]["name"];
} else {
lib/Firefox/Marionette.pm view on Meta::CPAN
return urlSafeKey;
})();
return privateKey;
_JS_
my $old = $self->_context('chrome');
$parameters{private_key} = $self->script(
$self->_compress_script($script),
args => [ $parameters{private_key} ]
);
$self->_context($old);
}
if ( !defined $parameters{sign_count} ) {
$parameters{sign_count} = 0;
lib/Firefox/Marionette.pm view on Meta::CPAN
my %credential_parameters = (
authenticatorId => $authenticator->id(),
credentialId => $parameters{id},
isResidentCredential => $parameters{is_resident},
rpId => $parameters{host},
privateKey => $parameters{private_key},
signCount => $parameters{sign_count},
userHandle => $parameters{user},
);
my $message_id = $self->_new_message_id();
$self->_send_request(
lib/Firefox/Marionette.pm view on Meta::CPAN
=item * id - contains the unique id for this credential, also known as the L<Credential ID|https://www.w3.org/TR/webauthn-2/#credential-id>. If this is not supplied, one will be generated.
=item * is_resident - contains a boolean that if set to true, a L<client-side discoverable credential|https://w3c.github.io/webauthn/#client-side-discoverable-credential> is created. If set to false, a L<server-side credential|https://w3c.github.io/w...
=item * private_key - either a L<RFC5958|https://www.rfc-editor.org/rfc/rfc5958> encoded private key encoded using L<encode_base64url|MIME::Base64::encode_base64url> or a hash containing the following keys;
=over 8
=item * name - contains the name of the private key algorithm, such as "RSA-PSS" (the default), "RSASSA-PKCS1-v1_5", "ECDSA" or "ECDH".
lib/Firefox/Marionette.pm view on Meta::CPAN
$firefox->add_webauthn_credential(
id => $credential->id(),
host => $credential->host(),
user => $credential->user(),
private_key => $credential->private_key(),
is_resident => $credential->is_resident(),
sign_count => $credential->sign_count(),
);
}
$firefox->go('about:blank');
view all matches for this distribution
view release on metacpan or search on metacpan
resources/ssl/cnf/ca.cnf view on Meta::CPAN
default_ca = default_ca
[ default_ca ]
dir = .
certificate = $dir/crt/ca.pem
private_key = $dir/key/ca.pem
certs = $dir/crt # Where the issued certs are kept
serial = $dir/serial # The current serial number
database = $dir/index.txt # database index file.
new_certs_dir = $dir/new # default place for new certs.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Future/IO/TLS.pm view on Meta::CPAN
if (my $hostname = $options{hostname}) {
$ssl->set_verify(Crypt::OpenSSL3::SSL::VERIFY_PEER);
$ssl->set_tlsext_host_name($hostname);
$ssl->set_host($hostname);
}
$ssl->use_PrivateKey_file($options{private_key_file}, Crypt::OpenSSL3::SSL::FILETYPE_PEM) if $options{private_key_file};
$ssl->use_certificate_chain_file($options{certificate_chain_file}) if $options{certificate_chain_file};
my $set_state_method = $options{server} ? 'set_accept_state' : 'set_connect_state';
$ssl->$set_state_method;
lib/Future/IO/TLS.pm view on Meta::CPAN
=item * hostname
The hostname of the other side of the connection. Typically used for client connections.
=item * private_key_file
The location of the private key file. Typically used for server connections.
=item * certificate_chain_file
lib/Future/IO/TLS.pm view on Meta::CPAN
=head2 accept
my $tls = Future::IO::TLS->accept($fh, $sockaddr, %options);
This combines C<< Future::IO->accept >> with C<< Future::IO::TLS->start_TLS >>. You probably want to pass this the C<private_key_file> and C<certificate_chain_file> arguments.
=head2 read
my $data = await $io->read($fh, $size);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Ads/Common/OAuth2ServiceAccountsHandler.pm view on Meta::CPAN
\"iat\":${iat}
}";
my $encoded_header = __encode_base64_url($header);
my $encoded_claims = __encode_base64_url($claims);
my $key = $self->get___crypt_module()->new_private_key($file) || return 0;
$key->use_pkcs1_padding();
$key->use_sha256_hash();
my $signature = $key->sign("${encoded_header}.${encoded_claims}");
my $encoded_signature = __encode_base64_url($signature);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Game/Tibia/Packet/Login.pm view on Meta::CPAN
sub import {
(undef, %params) = (shift, %params, @_);
die "Malformed Tibia version\n" if exists $params{tibia} && $params{tibia} !~ /^\d+$/;
}
my $otserv = Crypt::OpenSSL::RSA->new_private_key(
do { local $/; open my $rsa, '<', dist_file('Game-Tibia-Packet', 'otserv.private') or die "Couldn't open private key $!"; <$rsa>; }
);
=head1 METHODS AND ARGUMENTS
lib/Game/Tibia/Packet/Login.pm view on Meta::CPAN
$self->{versions}{client} = Game::Tibia::Packet::version($self->{version});
if ($self->{versions}{client}{rsa}) {
if (defined $self->{rsa} and !blessed $self->{rsa}) {
$self->{rsa} = Crypt::OpenSSL::RSA->new_private_key($self->{rsa});
}
$self->{rsa}->use_no_padding if defined $self->{rsa};
}
if (defined $self->{packet}) {
lib/Game/Tibia/Packet/Login.pm view on Meta::CPAN
$self->{rsa}->use_no_padding if defined $self->{rsa};
$self->{versions}{client} = Game::Tibia::Packet::version $self->{versions}{client} unless ref $self->{versions}{client};
my $payload = '';
if ($self->{versions}{client}{rsa}) {
$rsa = Crypt::OpenSSL::RSA->new_private_key($rsa) unless blessed $rsa;
$rsa->size == 128
or croak "Protocol $self->{versions}{client}{VERSION} expects 128 bit RSA key, but ${\($rsa->size*8)} bit were provided";
$payload .= "\0";
}
view all matches for this distribution
view release on metacpan or search on metacpan
scripts/find-secret-leakage-in-git-diff.pl view on Meta::CPAN
Sometimes you can't put the mark in the same line. Lines beginning private keys,
for example, do not have room for anything else. In these cases you can skip a
whole block marking its beginning and end like this:
## not a secret leak begin
my $rsa_private_key = <<EOS;
-----BEGIN RSA PRIVATE KEY-----
izfrNTmQLnfsLzi2Wb9xPz2Qj9fQYGgeug3N2MkDuVHwpPcgkhHkJgCQuuvT+qZI
MbS2U6wTS24SZk5RunJIUkitRKeWWMS28SLGfkDs1bBYlSPa5smAd3/q1OePi4ae
<...>
8S86b6zEmkser+SDYgGketS2DZ4hB+vh2ujSXmS8Gkwrn+BfHMzkbtio8lWbGw0l
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Git/Libgit2/FFI.pm view on Meta::CPAN
Create a username/password credential.
=head2 git_credential_ssh_key_new
Git::Libgit2::FFI::git_credential_ssh_key_new(\my $cred, $username, $public_key, $private_key, $passphrase);
Create an SSH key credential.
=head2 git_credential_ssh_key_from_agent
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Git/Native/Credential.pm view on Meta::CPAN
}
sub ssh_key {
my ( $class, %args ) = @_;
my $user = $args{username} // Carp::croak "ssh_key: 'username' required";
my $private_key = $args{private_key} // Carp::croak "ssh_key: 'private_key' required";
my $public_key = $args{public_key}; # may be undef â libgit2 derives
my $passphrase = $args{passphrase} // '';
check_rc Git::Libgit2::FFI::git_credential_ssh_key_new(
\my $cred, $user, $public_key, $private_key, $passphrase,
);
return $class->new( _handle => $cred );
}
sub ssh_agent {
lib/Git/Native/Credential.pm view on Meta::CPAN
# explicit key file
my $cred = Git::Native::Credential->ssh_key(
username => 'git',
public_key => "$ENV{HOME}/.ssh/id_ed25519.pub",
private_key => "$ENV{HOME}/.ssh/id_ed25519",
passphrase => '',
);
=head1 DESCRIPTION
lib/Git/Native/Credential.pm view on Meta::CPAN
=head2 ssh_key
Git::Native::Credential->ssh_key(
username => 'git',
private_key => "$ENV{HOME}/.ssh/id_ed25519",
public_key => "$ENV{HOME}/.ssh/id_ed25519.pub", # optional
passphrase => 'hunter2', # optional
);
An on-disk key pair (C<git_credential_ssh_key_new>). C<username> and
C<private_key> are required; C<public_key> may be left out, in which case
libgit2 derives it from the private key, and C<passphrase> defaults to the
empty string. The key files are not touched at construction time â libgit2
reads them when the transport uses the credential, so a wrong path surfaces
as an auth failure during C<fetch> / C<push>, not here.
view all matches for this distribution
view release on metacpan or search on metacpan
t/10-clone.t view on Meta::CPAN
my $ssh_dir = catfile($ENV{HOME}, '.ssh');
ok -e $ssh_dir;
my $public_key = catfile($ssh_dir, 'id_rsa.pub');
my $private_key = catfile($ssh_dir, 'id_rsa');
ok -f $public_key;
ok -f $private_key;
is $user, $ENV{USER};
is $url, $remote_url;
return Git::Raw::Cred -> sshkey(
$user,
$public_key,
$private_key
);
},
'certificate_check' => sub {
my ($cert, $valid) = @_;
$certificate_check_fired = 1;
view all matches for this distribution
view release on metacpan or search on metacpan
if (@$identities) {
# Sanity check to verify identity files are ready to go, and expand relative paths if needed.
my $verified_identities = [];
my $public_key_file = {};
my $private_key_file = {};
foreach my $ident (@$identities) {
if (my @found = agentkeys($ident)) {
foreach (@found) {
push @$verified_identities, $_ if !$public_key_file->{$_}++;
}
}
elsif (-e $ident && -r _ && -s _) {
my $pub = run_output_ignore_err "ssh-keygen", "-y", "-P", "", "-f", $ident;
if ($pub) {
warn localtime().": [$$] $Script: --identity '$ident': Using private key for: $pub";
push @$verified_identities, $ident if !$private_key_file->{$ident}++;
}
elsif ($ident =~ m{^(.+)\.pub$} and -r $1 and $ident = $1) {
redo; # Try again with the NON-".pub" file
}
else {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/GitHub/Apps/Auth.pm view on Meta::CPAN
our $VERSION = "0.04";
use Class::Accessor::Lite (
rw => [qw/token expires installation_id/],
ro => [qw/_furl private_key app_id/],
);
use Carp;
use Crypt::PK::RSA;
use Crypt::JWT qw/encode_jwt/;
lib/GitHub/Apps/Auth.pm view on Meta::CPAN
_lazy { "$self" . "$other" };
};
sub new {
my ($class, %args) = @_;
if (!exists $args{private_key} || !$args{private_key}) {
croak "private_key is required.";
}
if (!exists $args{app_id} || !$args{app_id}) {
croak "app_id is required.";
}
if (!$args{installation_id} && !$args{login}) {
croak "must be set installation_id or login.";
}
my $pk = Crypt::PK::RSA->new($args{private_key});
my $klass = {
private_key => $pk,
installation_id => $args{installation_id},
app_id => $args{app_id},
expires => 0,
_furl => Furl->new,
};
lib/GitHub/Apps/Auth.pm view on Meta::CPAN
iat => time(),
exp => time() + 60,
iss => $self->app_id,
},
alg => "RS256",
key => $self->private_key,
);
return $jwt;
}
lib/GitHub/Apps/Auth.pm view on Meta::CPAN
=head1 SYNOPSIS
use GitHub::Apps::Auth;
my $auth = GitHub::Apps::Auth->new(
private_key => "<filename>", # when read private key from file
private_key => \$pk, # when read private key from variable
app_id => <app_id>,
login => <organization or user>
);
# This method returns the cached token inside an object.
# However, refresh expired token automatically.
lib/GitHub/Apps/Auth.pm view on Meta::CPAN
=head1 CONSTRUCTOR
=head2 new
my $auth = GitHub::Apps::Auth->new(
private_key => "<filename>",
app_id => <app_id>,
installation_id => <installation_id>
);
Constructs an instance of C<GitHub::Apps::Auth> from credentials.
=head3 parameters
=head4 private_key
B<Required: true>
This parameter is a private key of the GitHub Apps.
view all matches for this distribution
view release on metacpan or search on metacpan
eg/service_accounts/reseller.pl view on Meta::CPAN
'https://www.googleapis.com/auth/apps.order'
);
my $auth_driver = Google::API::OAuth2::SignedJWT->new({
service_account_name => '<< service account email here >>',
private_key => "$FindBin::<<private key path here >>",
sub => '<< sub is optional, but can be here... >>',
scopes => join(" ", @scopes)
});
my $response = $service->customers->get((
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Ads/Common/OAuth2ServiceAccountsHandler.pm view on Meta::CPAN
}";
my $encoded_header = __encode_base64_url($header);
my $encoded_claims = __encode_base64_url($claims);
my $key = $self->get___crypt_module()->new_private_key($file) || return 0;
$key->use_pkcs1_padding();
$key->use_sha256_hash();
my $signature = $key->sign("${encoded_header}.${encoded_claims}");
my $encoded_signature = __encode_base64_url($signature);
lib/Google/Ads/Common/OAuth2ServiceAccountsHandler.pm view on Meta::CPAN
}
# Return the private key string from either the PEM file or JSON file specified.
sub __read_certificate_file {
my $self = shift;
my $private_key;
if (!$self->get_pem_file() and !$self->get_json_file()) {
return 0;
}
lib/Google/Ads/Common/OAuth2ServiceAccountsHandler.pm view on Meta::CPAN
open(MYFILE, $self->get_json_file()) || return 0;
while (<MYFILE>) {
$file_str .= $_;
}
my $json_values = parse_json ($file_str);
$private_key = $json_values->{'private_key'};
$self->set_email_address($json_values->{'client_email'});
close(MYFILE);
}
# PEM File
else {
open(MYFILE, $self->get_pem_file()) || return 0;
while (<MYFILE>) {
$private_key .= $_;
}
close(MYFILE);
}
return $private_key;
}
sub __encode_base64_url($) {
my ($s) = shift;
$s = encode_base64($s);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Ads/GoogleAds/OAuth2ServiceAccountsHandler.pm view on Meta::CPAN
aud => Google::Ads::GoogleAds::Constants::OAUTH2_BASE_URL . "/token",
exp => $time + 3600,
iat => $time,
sub => $self->get_impersonated_email()
},
$json_key->{private_key},
"RS256"
);
my $response = $self->get___lwp_agent()->post(
Google::Ads::GoogleAds::Constants::OAUTH2_BASE_URL . "/token",
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Auth/DefaultCredentials.pm view on Meta::CPAN
# If no explicit json info was provided, fallback to checking environment variables
my $env = $self->environment;
if ($ENV{GOOGLE_PRIVATE_KEY} && $ENV{GOOGLE_CLIENT_EMAIL}) {
require Google::Auth::ServiceAccountCredentials;
return Google::Auth::ServiceAccountCredentials->new(
private_key => $ENV{GOOGLE_PRIVATE_KEY},
client_email => $ENV{GOOGLE_CLIENT_EMAIL},
scope => $scopes,
%options
);
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/BigQuery.pm view on Meta::CPAN
sub new {
my ($class, %args) = @_;
die "undefined client_eamil" if !defined $args{client_email};
die "undefined private_key_file" if !defined $args{private_key_file};
die "not found private_key_file" if !-f $args{private_key_file};
my $self = bless { %args }, $class;
$self->{GOOGLE_API_TOKEN_URI} = 'https://accounts.google.com/o/oauth2/token';
$self->{GOOGLE_API_GRANT_TYPE} = 'urn:ietf:params:oauth:grant-type:jwt-bearer';
if ($self->{private_key_file} =~ /\.json$/) {
open my $in, "<", $self->{private_key_file} or die "can't open $self->{private_key_file} : $!";
my $private_key_json = decode_json(join('', <$in>));
close $in;
$self->{private_key} = $private_key_json->{private_key};
} elsif ($self->{private_key_file} =~ /\.p12$/) {
my $password = "notasecret";
my $pkcs12 = Crypt::OpenSSL::PKCS12->new_from_file($self->{private_key_file});
$self->{private_key} = $pkcs12->private_key($password);
} else {
die "invalid private_key_file format";
}
$self->_auth;
$self->_set_rest_description;
lib/Google/BigQuery.pm view on Meta::CPAN
aud => $self->{GOOGLE_API_TOKEN_URI},
exp => $self->{exp},
iat => $self->{iat},
};
my $jwt = JSON::WebToken::encode_jwt($claim, $self->{private_key}, 'RS256', { type => 'JWT' });
my $response = $self->{ua}->post(
$self->{GOOGLE_API_TOKEN_URI},
{ grant_type => $self->{GOOGLE_API_GRANT_TYPE}, assertion => $jwt }
);
lib/Google/BigQuery.pm view on Meta::CPAN
=head1 SYNOPSIS
use Google::BigQuery;
my $client_email = <YOUR CLIENT EMAIL ADDRESS>;
my $private_key_file = <YOUR PRIVATE KEY FILE>;
my $project_id = <YOUR PROJECT ID>;
# create a instance
my $bq = Google::BigQuery::create(
client_email => $client_email,
private_key_file => $private_key_file,
project_id => $project_id,
);
# create a dataset
my $dataset_id = <YOUR DATASET ID>;
lib/Google/BigQuery.pm view on Meta::CPAN
Create a instance.
my $bq = Google::BigQuery::create(
client_email => $client_email, # required
private_key_file => $private_key_file, # required
project_id => $project_id, # optional
dataset_id => $dataset_id, # optional
scope => \@scope, # optional (default is 'https://www.googleapis.com/auth/bigquery')
version => $version, # optional (only 'v2')
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Appengine/V1/Certificate.pm view on Meta::CPAN
# Field: domain_mappings_count Type: 5 ()
# === Message: Google::Appengine::V1::Certificate::CertificateRawData ===
# Fields for CertificateRawData
# Field: public_certificate Type: 9 ()
# Field: private_key Type: 9 ()
# === Message: Google::Appengine::V1::Certificate::ManagedCertificate ===
# Fields for ManagedCertificate
# Field: last_renewal_time Type: 11 (.google.protobuf.Timestamp)
# Field: status Type: 14 (.google.appengine.v1.ManagementStatus)
lib/Google/Appengine/V1/Certificate.pm view on Meta::CPAN
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Appengine/V1beta/Certificate.pm view on Meta::CPAN
# Field: domain_mappings_count Type: 5 ()
# === Message: Google::Appengine::V1beta::Certificate::CertificateRawData ===
# Fields for CertificateRawData
# Field: public_certificate Type: 9 ()
# Field: private_key Type: 9 ()
# === Message: Google::Appengine::V1beta::Certificate::ManagedCertificate ===
# Fields for ManagedCertificate
# Field: last_renewal_time Type: 11 (.google.protobuf.Timestamp)
# Field: status Type: 14 (.google.appengine.v1beta.ManagementStatus)
lib/Google/Appengine/V1beta/Certificate.pm view on Meta::CPAN
-----BEGIN CERTIFICATE-----
<certificate_value>
-----END CERTIFICATE-----
</pre>
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Unencrypted PEM encoded RSA private key. This field is set once on
certificate creation and then encrypted. The key size must be 2048
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Devtools/Cloudbuild/V1/Cloudbuild.pm view on Meta::CPAN
=cut
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseSecrets ===
# Fields for GitHubEnterpriseSecrets
# Field: private_key_version_name Type: 9 ()
# Field: webhook_secret_version_name Type: 9 ()
# Field: oauth_secret_version_name Type: 9 ()
# Field: oauth_client_id_version_name Type: 9 ()
=pod
lib/Google/Devtools/Cloudbuild/V1/Cloudbuild.pm view on Meta::CPAN
=head1 SYNOPSIS
use Google::Devtools::Cloudbuild::V1::Cloudbuild;
my $msg = Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseSecrets->new(
private_key_version_name => $value,
);
=head1 FIELDS
=over 4
=item * B<private_key_version_name>
Type: String
=item * B<webhook_secret_version_name>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Ces/V1/App.pm view on Meta::CPAN
our $EvaluationMetricsThresholds_ENABLED = 2;
# === Message: Google::Cloud::Ces::V1::App::ClientCertificateSettings ===
# Fields for ClientCertificateSettings
# Field: tls_certificate Type: 9 ()
# Field: private_key Type: 9 ()
# Field: passphrase Type: 9 ()
# === Message: Google::Cloud::Ces::V1::App::VpcScSettings ===
# Fields for VpcScSettings
# Field: allowed_origins Type: 9 ()
lib/Google/Cloud/Ces/V1/App.pm view on Meta::CPAN
Type: C<String>
Required. The TLS certificate encoded in PEM format. This string must
include the begin header and end footer lines.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Required. The name of the SecretManager secret version resource storing the
private key encoded in PEM format.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Ces/V1beta/App.pm view on Meta::CPAN
our $EvaluationSettings_SPEED_OPTIMIZED = 2;
# === Message: Google::Cloud::Ces::V1beta::App::ClientCertificateSettings ===
# Fields for ClientCertificateSettings
# Field: tls_certificate Type: 9 ()
# Field: private_key Type: 9 ()
# Field: passphrase Type: 9 ()
# === Message: Google::Cloud::Ces::V1beta::App::VpcScSettings ===
# Fields for VpcScSettings
# Field: allowed_origins Type: 9 ()
lib/Google/Cloud/Ces/V1beta/App.pm view on Meta::CPAN
Type: C<String>
Required. The TLS certificate encoded in PEM format. This string must
include the begin header and end footer lines.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Required. The name of the SecretManager secret version resource storing the
private key encoded in PEM format.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Chronicle/V1/Feed.pm view on Meta::CPAN
# === Message: Google::Cloud::Chronicle::V1::Feed::SftpAuth ===
# Fields for SftpAuth
# Field: username Type: 9 ()
# Field: password Type: 9 ()
# Field: private_key Type: 9 ()
# Field: private_key_passphrase Type: 9 ()
# === Message: Google::Cloud::Chronicle::V1::Feed::HttpHeaderAuth ===
# Fields for HttpHeaderAuth
# Field: header_key_values Type: 11 (.google.cloud.chronicle.v1.HeaderKeyValue)
lib/Google/Cloud/Chronicle/V1/Feed.pm view on Meta::CPAN
# Field: token_endpoint Type: 9 ()
# Field: claims Type: 11 (.google.cloud.chronicle.v1.Claims)
# === Message: Google::Cloud::Chronicle::V1::Feed::RSCredentials ===
# Fields for RSCredentials
# Field: private_key Type: 9 ()
# === Message: Google::Cloud::Chronicle::V1::Feed::Claims ===
# Fields for Claims
# Field: issuer Type: 9 ()
# Field: subject Type: 9 ()
# Field: audience Type: 9 ()
# === Message: Google::Cloud::Chronicle::V1::Feed::SSLClientKeypair ===
# Fields for SSLClientKeypair
# Field: encoded_private_key Type: 9 ()
# Field: ssl_certificate Type: 9 ()
# === Message: Google::Cloud::Chronicle::V1::Feed::WorkdayAuth ===
# Fields for WorkdayAuth
# Field: user Type: 9 ()
lib/Google/Cloud/Chronicle/V1/Feed.pm view on Meta::CPAN
Type: C<String>
Password. Used for username and password authentication.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Private key. Used for private key authentication.
=item * C<< $msg->private_key_passphrase() >> / C<< $msg->private_key_passphrase($value) >>
Type: C<String>
Private key passphrase. Used for private key authentication.
lib/Google/Cloud/Chronicle/V1/Feed.pm view on Meta::CPAN
=head3 Accessors
=over 4
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Private key in PEM format.
lib/Google/Cloud/Chronicle/V1/Feed.pm view on Meta::CPAN
=head3 Accessors
=over 4
=item * C<< $msg->encoded_private_key() >> / C<< $msg->encoded_private_key($value) >>
Type: C<String>
The encoded private key. The string should be a private key in PEM format,
and should include the begin header and end footer lines. It may also
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Clouddms/V1/ClouddmsResources.pm view on Meta::CPAN
# Fields for ForwardSshTunnelConnectivity
# Field: hostname Type: 9 ()
# Field: username Type: 9 ()
# Field: port Type: 5 ()
# Field: password Type: 9 ()
# Field: private_key Type: 9 ()
# === Message: Google::Cloud::Clouddms::V1::ClouddmsResources::StaticServiceIpConnectivity ===
# Fields for StaticServiceIpConnectivity
# === Message: Google::Cloud::Clouddms::V1::ClouddmsResources::PrivateConnectivity ===
lib/Google/Cloud/Clouddms/V1/ClouddmsResources.pm view on Meta::CPAN
Type: C<String>
Input only. SSH password.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Input only. SSH private key.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Connectors/V1/SslConfig.pm view on Meta::CPAN
# Fields for SslConfig
# Field: type Type: 14 (.google.cloud.connectors.v1.SslType)
# Field: trust_model Type: 14 (.google.cloud.connectors.v1.SslConfig.TrustModel)
# Field: private_server_certificate Type: 11 (.google.cloud.connectors.v1.Secret)
# Field: client_certificate Type: 11 (.google.cloud.connectors.v1.Secret)
# Field: client_private_key Type: 11 (.google.cloud.connectors.v1.Secret)
# Field: client_private_key_pass Type: 11 (.google.cloud.connectors.v1.Secret)
# Field: server_cert_type Type: 14 (.google.cloud.connectors.v1.CertType)
# Field: client_cert_type Type: 14 (.google.cloud.connectors.v1.CertType)
# Field: use_ssl Type: 8 ()
# Field: additional_variables Type: 11 (.google.cloud.connectors.v1.ConfigVariable)
lib/Google/Cloud/Connectors/V1/SslConfig.pm view on Meta::CPAN
Type: C<Message> (L<Google::Cloud::Connectors::V1::Common::Secret>)
Client Certificate
=item * C<< $msg->client_private_key() >> / C<< $msg->client_private_key($value) >>
Type: C<Message> (L<Google::Cloud::Connectors::V1::Common::Secret>)
Client Private Key
=item * C<< $msg->client_private_key_pass() >> / C<< $msg->client_private_key_pass($value) >>
Type: C<Message> (L<Google::Cloud::Connectors::V1::Common::Secret>)
Secret containing the passphrase protecting the Client Private Key
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Datastream/V1/DatastreamResources.pm view on Meta::CPAN
# Fields for ForwardSshTunnelConnectivity
# Field: hostname Type: 9 ()
# Field: username Type: 9 ()
# Field: port Type: 5 ()
# Field: password Type: 9 ()
# Field: private_key Type: 9 ()
# === Message: Google::Cloud::Datastream::V1::DatastreamResources::VpcPeeringConfig ===
# Fields for VpcPeeringConfig
# Field: vpc Type: 9 ()
# Field: subnet Type: 9 ()
lib/Google/Cloud/Datastream/V1/DatastreamResources.pm view on Meta::CPAN
Type: C<String>
Input only. SSH password.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Input only. SSH private key.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Datastream/V1alpha1/DatastreamResources.pm view on Meta::CPAN
# Fields for ForwardSshTunnelConnectivity
# Field: hostname Type: 9 ()
# Field: username Type: 9 ()
# Field: port Type: 5 ()
# Field: password Type: 9 ()
# Field: private_key Type: 9 ()
# === Message: Google::Cloud::Datastream::V1alpha1::DatastreamResources::VpcPeeringConfig ===
# Fields for VpcPeeringConfig
# Field: vpc_name Type: 9 ()
# Field: subnet Type: 9 ()
lib/Google/Cloud/Datastream/V1alpha1/DatastreamResources.pm view on Meta::CPAN
Type: C<String>
Input only. SSH password.
=item * C<< $msg->private_key() >> / C<< $msg->private_key($value) >>
Type: C<String>
Input only. SSH private key.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Cloud/Developerconnect/V1/DeveloperConnect.pm view on Meta::CPAN
# === Message: Google::Cloud::Developerconnect::V1::DeveloperConnect::GitHubEnterpriseConfig ===
# Fields for GitHubEnterpriseConfig
# Field: host_uri Type: 9 ()
# Field: app_id Type: 3 ()
# Field: app_slug Type: 9 ()
# Field: private_key_secret_version Type: 9 ()
# Field: webhook_secret_secret_version Type: 9 ()
# Field: app_installation_id Type: 3 ()
# Field: installation_uri Type: 9 ()
# Field: service_directory_config Type: 11 (.google.cloud.developerconnect.v1.ServiceDirectoryConfig)
# Field: server_version Type: 9 ()
lib/Google/Cloud/Developerconnect/V1/DeveloperConnect.pm view on Meta::CPAN
Type: C<String>
Output only. The URL-friendly name of the GitHub App.
=item * C<< $msg->private_key_secret_version() >> / C<< $msg->private_key_secret_version($value) >>
Type: C<String>
Optional. SecretManager resource containing the private key of the GitHub
App, formatted as `projects/*/secrets/*/versions/*` or
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Devtools/Cloudbuild/V1/Cloudbuild.pm view on Meta::CPAN
# Field: display_name Type: 9 ()
# Field: ssl_ca Type: 9 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::GitHubEnterpriseSecrets ===
# Fields for GitHubEnterpriseSecrets
# Field: private_key_version_name Type: 9 ()
# Field: webhook_secret_version_name Type: 9 ()
# Field: oauth_secret_version_name Type: 9 ()
# Field: oauth_client_id_version_name Type: 9 ()
# === Message: Google::Devtools::Cloudbuild::V1::Cloudbuild::WorkerPool ===
lib/Google/Devtools/Cloudbuild/V1/Cloudbuild.pm view on Meta::CPAN
=head3 Accessors
=over 4
=item * C<< $msg->private_key_version_name() >> / C<< $msg->private_key_version_name($value) >>
Type: C<String>
The resource name for the private key secret version.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Google/Devtools/Cloudbuild/V2/Repositories.pm view on Meta::CPAN
# Fields for GitHubEnterpriseConfig
# Field: host_uri Type: 9 ()
# Field: api_key Type: 9 ()
# Field: app_id Type: 3 ()
# Field: app_slug Type: 9 ()
# Field: private_key_secret_version Type: 9 ()
# Field: webhook_secret_secret_version Type: 9 ()
# Field: app_installation_id Type: 3 ()
# Field: service_directory_config Type: 11 (.google.devtools.cloudbuild.v2.ServiceDirectoryConfig)
# Field: ssl_ca Type: 9 ()
# Field: server_version Type: 9 ()
lib/Google/Devtools/Cloudbuild/V2/Repositories.pm view on Meta::CPAN
Type: C<String>
The URL-friendly name of the GitHub App.
=item * C<< $msg->private_key_secret_version() >> / C<< $msg->private_key_secret_version($value) >>
Type: C<String>
SecretManager resource containing the private key of the GitHub App,
formatted as `projects/*/secrets/*/versions/*`.
view all matches for this distribution