Class: Google::Cloud::Iot::V1::DeviceCredential
- Inherits:
-
Object
- Object
- Google::Cloud::Iot::V1::DeviceCredential
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/iot/v1/resources.rb
Overview
A server-stored device credential used for authentication.
Instance Attribute Summary collapse
-
#expiration_time ⇒ ::Google::Protobuf::Timestamp
[Optional] The time at which this credential becomes invalid.
-
#public_key ⇒ ::Google::Cloud::Iot::V1::PublicKeyCredential
A public key used to verify the signature of JSON Web Tokens (JWTs).
Instance Attribute Details
#expiration_time ⇒ ::Google::Protobuf::Timestamp
Returns [Optional] The time at which this credential becomes invalid. This credential will be ignored for new client authentication requests after this timestamp; however, it will not be automatically deleted.
329 330 331 332 |
# File 'proto_docs/google/cloud/iot/v1/resources.rb', line 329 class DeviceCredential include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#public_key ⇒ ::Google::Cloud::Iot::V1::PublicKeyCredential
Returns A public key used to verify the signature of JSON Web Tokens (JWTs). When adding a new device credential, either via device creation or via modifications, this public key credential may be required to be signed by one of the registry level certificates. More specifically, if the registry contains at least one certificate, any new device credential must be signed by one of the registry certificates. As a result, when the registry contains certificates, only X.509 certificates are accepted as device credentials. However, if the registry does not contain a certificate, self-signed certificates and public keys will be accepted. New device credentials must be different from every registry-level certificate.
329 330 331 332 |
# File 'proto_docs/google/cloud/iot/v1/resources.rb', line 329 class DeviceCredential include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |