Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion azure-keyvault/azure/keyvault/key_vault_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ def create_key(
JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA',
'RSA-HSM', 'oct'
:type kty: str or ~azure.keyvault.models.JsonWebKeyType
:param key_size: The key size in bytes. For example, 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or
4096 for RSA.
:type key_size: int
:param key_ops:
:type key_ops: list[str or ~azure.keyvault.models.JsonWebKeyOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .attributes import Attributes
from .attributes_py3 import Attributes


class CertificateAttributes(Attributes):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .certificate_bundle import CertificateBundle
from .certificate_bundle_py3 import CertificateBundle


class DeletedCertificateBundle(CertificateBundle):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .certificate_item import CertificateItem
from .certificate_item_py3 import CertificateItem


class DeletedCertificateItem(CertificateItem):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .key_bundle import KeyBundle
from .key_bundle_py3 import KeyBundle


class DeletedKeyBundle(KeyBundle):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .key_item import KeyItem
from .key_item_py3 import KeyItem


class DeletedKeyItem(KeyItem):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .secret_bundle import SecretBundle
from .secret_bundle_py3 import SecretBundle


class DeletedSecretBundle(SecretBundle):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .secret_item import SecretItem
from .secret_item_py3 import SecretItem


class DeletedSecretItem(SecretItem):
Expand Down
2 changes: 1 addition & 1 deletion azure-keyvault/azure/keyvault/models/key_attributes_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .attributes import Attributes
from .attributes_py3 import Attributes


class KeyAttributes(Attributes):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class KeyCreateParameters(Model):
JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
'oct'
:type kty: str or ~azure.keyvault.models.JsonWebKeyType
:param key_size: The key size in bytes. For example, 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param key_ops:
:type key_ops: list[str or ~azure.keyvault.models.JsonWebKeyOperation]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ class KeyCreateParameters(Model):
JsonWebKeyType. Possible values include: 'EC', 'EC-HSM', 'RSA', 'RSA-HSM',
'oct'
:type kty: str or ~azure.keyvault.models.JsonWebKeyType
:param key_size: The key size in bytes. For example, 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param key_ops:
:type key_ops: list[str or ~azure.keyvault.models.JsonWebKeyOperation]
Expand Down
3 changes: 2 additions & 1 deletion azure-keyvault/azure/keyvault/models/key_properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class KeyProperties(Model):
:type exportable: bool
:param key_type: The key type.
:type key_type: str
:param key_size: The key size in bytes. For example; 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param reuse_key: Indicates if the same key pair will be used on
certificate renewal.
Expand Down
3 changes: 2 additions & 1 deletion azure-keyvault/azure/keyvault/models/key_properties_py3.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ class KeyProperties(Model):
:type exportable: bool
:param key_type: The key type.
:type key_type: str
:param key_size: The key size in bytes. For example; 1024 or 2048.
:param key_size: The key size in bits. For example: 2048, 3072, or 4096
for RSA.
:type key_size: int
:param reuse_key: Indicates if the same key pair will be used on
certificate renewal.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ class JsonWebKeyType(str, Enum):

class JsonWebKeyCurveName(str, Enum):

p_256 = "P-256"
p_384 = "P-384"
p_521 = "P-521"
secp256_k1 = "SECP256K1"
p_256 = "P-256" #: The NIST P-256 elliptic curve, AKA SECG curve SECP256R1.
p_384 = "P-384" #: The NIST P-384 elliptic curve, AKA SECG curve SECP384R1.
p_521 = "P-521" #: The NIST P-521 elliptic curve, AKA SECG curve SECP521R1.
secp256_k1 = "SECP256K1" #: The SECG SECP256K1 elliptic curve.


class DeletionRecoveryLevel(str, Enum):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
# regenerated.
# --------------------------------------------------------------------------

from .attributes import Attributes
from .attributes_py3 import Attributes


class SecretAttributes(Attributes):
Expand Down
Loading